Skip to content

Commit

Permalink
telemetry module: display formatting fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
DanNixon committed Dec 2, 2024
1 parent b80bff6 commit d187bd2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions telemetry-module/firmware/src/display/screens/inputs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ impl Drawable for Inputs<'_> {
value_offset,
"Air Demand",
self.state.air_assist_demand.as_ref().map(|v| match v {
AirAssistDemand::Idle => "Demand",
AirAssistDemand::Demand => "Idle",
AirAssistDemand::Idle => "Idle",
AirAssistDemand::Demand => "Demand",
}),
None,
)
Expand Down
2 changes: 1 addition & 1 deletion telemetry-module/firmware/src/display/screens/outputs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ impl Drawable for Outputs<'_> {
.map(|sl| {
let mut s = heapless::String::<16>::new();
s.write_fmt(format_args!(
"[{}] [{}] [{}]",
"{} {} {}",
match sl.red {
true => "R",
false => " ",
Expand Down

0 comments on commit d187bd2

Please sign in to comment.