Skip to content

Commit

Permalink
Added 2 decimal places to uR/h on display page
Browse files Browse the repository at this point in the history
  • Loading branch information
jake-b authored and fifieldt committed Nov 23, 2024
1 parent 701ed08 commit 0f98861
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/Telemetry/EnvironmentTelemetry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ void EnvironmentTelemetryModule::drawFrame(OLEDDisplay *display, OLEDDisplayUiSt

if (lastMeasurement.variant.environment_metrics.radiation != 0)
display->drawString(x, y += _fontHeight(FONT_SMALL),
"Radiation: " + String(lastMeasurement.variant.environment_metrics.radiation, 0) + "µR/h");
"Radiation: " + String(lastMeasurement.variant.environment_metrics.radiation, 2) + "µR/h");

}

Expand Down

0 comments on commit 0f98861

Please sign in to comment.