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

Commit

Permalink
fix: make prelude work with new features
Browse files Browse the repository at this point in the history
  • Loading branch information
Gavin-Niederman committed Mar 14, 2024
1 parent 4f2c778 commit 68abf89
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ 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`.
- An ``embedded_graphics`` driver crate (pros_graphics).
- New `graphics` feature in the `pros` crate.
- An ``embedded_graphics`` driver in the new `pros_graphics` crate.
- New `graphics` and `embedded-graphics` features in the `pros` crate.

### Fixed

Expand Down
4 changes: 2 additions & 2 deletions packages/pros/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,8 @@ pub mod prelude {
SmartDevice, SmartPort,
},
};
#[cfg(feature = "graphics")]
pub use pros_graphics::V5BrainDisplay;
#[cfg(all(feature = "graphics", feature = "embedded-graphics"))]
pub use pros_graphics::embedded_graphics::V5BrainDisplay;
#[cfg(feature = "math")]
pub use pros_math::{feedforward::MotorFeedforwardController, pid::PidController};
#[cfg(feature = "sync")]
Expand Down

0 comments on commit 68abf89

Please sign in to comment.