| @@ -266,6 +266,9 @@ void Display::drawMode(ValueMode mode) { | |||
| void Display::drawDistanceValue(float distance) { | |||
| String txt = String(distance, 2); | |||
| if (txt.equals("-0.00")) { | |||
| txt.replace("-", ""); | |||
| } | |||
| char *s = &txt[0]; | |||
| int16_t w = 0, h = 0; | |||
| u8g2_gfx.setFont(u8g2_font_logisoso22_tf); | |||