events: move the displaycontrols out of the bus garage and back into main
This commit is contained in:
@@ -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()
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user