Skip to content
This repository has been archived by the owner on Jun 19, 2024. It is now read-only.

Commit

Permalink
Merge pull request #108 from Tropix126/fix/controller-in-prelude
Browse files Browse the repository at this point in the history
fix: add `Controller` to prelude
  • Loading branch information
Gavin-Niederman authored Mar 13, 2024
2 parents db1e06f + 3c55d01 commit d1e9972
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ Before releasing:
- Added support for getting motor fault flags (e.g. over-temperature, over-current, H-bridge faults).
- Added support for internal motor PID tuning. Feature gated behind `dangerous_motor_tuning`, as this can cause hardware damage and is not recommended.
- Added various constants for convenience around `Motor` and `Gearset`.
- Added `Controller` API to the `pros::prelude` module. (#108)

### Fixed

Expand Down
1 change: 1 addition & 0 deletions packages/pros/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ pub mod prelude {
AdiDevice, AdiPort,
},
color::Rgb,
controller::Controller,
peripherals::{DynamicPeripherals, Peripherals},
position::Position,
screen::{Circle, Line, Rect, Screen, Text, TextFormat, TextPosition, TouchState},
Expand Down

0 comments on commit d1e9972

Please sign in to comment.