diff --git a/CHANGELOG.md b/CHANGELOG.md index 71c7e7f8..af93c6e6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/packages/pros/src/lib.rs b/packages/pros/src/lib.rs index 5164c80b..014569b2 100644 --- a/packages/pros/src/lib.rs +++ b/packages/pros/src/lib.rs @@ -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")]