|
@@ -1659,7 +1659,7 @@ void _update_axis_value(const AxisEnum axis, const uint16_t x, const uint16_t y,
|
1659
|
1659
|
else if (blink && draw_empty)
|
1660
|
1660
|
DWIN_Draw_String(true, font8x16, Color_White, Color_Bg_Black, x, y, F(" "));
|
1661
|
1661
|
else
|
1662
|
|
- DWIN_Draw_FloatValue(true, true, 0, font8x16, Color_White, Color_Bg_Black, 3, 1, x, y, p * 10);
|
|
1662
|
+ DWIN_Draw_FloatValue(true, true, 0, font8x16, Color_White, Color_Bg_Black, 3, 1, x, y, p);
|
1663
|
1663
|
}
|
1664
|
1664
|
}
|
1665
|
1665
|
|
|
@@ -1769,11 +1769,11 @@ void update_variable() {
|
1769
|
1769
|
if (BABY_Z_VAR != _offset) {
|
1770
|
1770
|
_offset = BABY_Z_VAR;
|
1771
|
1771
|
if (BABY_Z_VAR < 0) {
|
1772
|
|
- Draw_Stat_Float(207, 417, -_offset * 100);
|
|
1772
|
+ Draw_Stat_Float(207, 417, -_offset);
|
1773
|
1773
|
DWIN_Draw_String(true, font8x16, Color_White, Color_Bg_Black, 205, 419, F("-"));
|
1774
|
1774
|
}
|
1775
|
1775
|
else {
|
1776
|
|
- Draw_Stat_Float(207, 417, _offset * 100);
|
|
1776
|
+ Draw_Stat_Float(207, 417, _offset);
|
1777
|
1777
|
DWIN_Draw_String(true, font8x16, Color_White, Color_Bg_Black, 205, 419, F(" "));
|
1778
|
1778
|
}
|
1779
|
1779
|
}
|