Skip to content

Commit

Permalink
Fix ammeter
Browse files Browse the repository at this point in the history
  • Loading branch information
Serhiy-K committed Jul 18, 2021
1 parent 43a8bd1 commit ce386e1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Marlin/src/lcd/TFTGLCD/marlinui_TFTGLCD.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -560,8 +560,7 @@ FORCE_INLINE void _draw_cooler_status(const bool blink) {

FORCE_INLINE void _draw_ammeter_status() {
lcd.setCursor(10, 5); lcd_put_u8str_P(PSTR("ILAZ"));
// ammeter.read();
ammeter.current = 0.467; //for test
ammeter.read();
lcd.setCursor(11, 6);
if (ammeter.current <= 0.999f)
{
Expand Down

0 comments on commit ce386e1

Please sign in to comment.