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

Commit

Permalink
fix: add Controller to prelude
Browse files Browse the repository at this point in the history
  • Loading branch information
Tropix126 committed Mar 13, 2024
1 parent 21f45c4 commit d5339b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +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

- `pros_sys` bindings to the Motors C API now takes the correct port type (`i8`) as of PROS 4 (**Breaking Change**) (#66).
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 @@ -100,6 +100,7 @@ pub mod prelude {
peripherals::{DynamicPeripherals, Peripherals},
position::Position,
screen::{Circle, Line, Rect, Screen, Text, TextFormat, TextPosition, TouchState},
controller::Controller,
smart::{
distance::DistanceSensor,
expander::AdiExpander,
Expand Down

0 comments on commit d5339b2

Please sign in to comment.