events: move the displaycontrols out of the bus garage and back into main

This commit is contained in:
2025-12-22 15:22:14 +01:00
parent d1cfcb30e8
commit 82d61a9df3
2 changed files with 11 additions and 12 deletions

View File

@@ -117,9 +117,7 @@ pub struct BusGarage {
pub motion: Channel<NoopRawMutex, Measurement, 5>,
pub notify: PubSubChannel<CriticalSectionRawMutex, Notification, 5, 2, 4>,
pub predict: Channel<CriticalSectionRawMutex, Prediction, 15>,
pub telemetry: PubSubChannel<CriticalSectionRawMutex, Telemetry, 15, 2, 4>,
pub display: DisplayControls,
pub oled_display: DisplayControls
pub telemetry: PubSubChannel<CriticalSectionRawMutex, Telemetry, 15, 2, 4>
}
impl Default for BusGarage {
@@ -128,9 +126,7 @@ impl Default for BusGarage {
motion: Channel::new(),
notify: PubSubChannel::new(),
predict: Channel::new(),
telemetry: PubSubChannel::new(),
display: Default::default(),
oled_display: Default::default()
telemetry: PubSubChannel::new()
}
}
}