Browse Source

Fix fan speed encoder scaling (#15010)

pull/1/head
Marcio Teixeira 5 years ago
committed by Scott Lahteine
parent
commit
825c2c3dc4
  1. 2
      Marlin/src/lcd/menu/menu.h

2
Marlin/src/lcd/menu/menu.h

@ -46,7 +46,7 @@ bool printer_busy();
static inline char* strfunc(const float value) { return STRFUNC((TYPE) value); } \
};
DECLARE_MENU_EDIT_TYPE(uint8_t, percent, ui8tostr4pct, 1 ); // 100% right-justified
DECLARE_MENU_EDIT_TYPE(uint8_t, percent, ui8tostr4pct, 100.0/255); // 100% right-justified
DECLARE_MENU_EDIT_TYPE(int16_t, int3, i16tostr3, 1 ); // 123, -12 right-justified
DECLARE_MENU_EDIT_TYPE(int16_t, int4, i16tostr4sign, 1 ); // 1234, -123 right-justified
DECLARE_MENU_EDIT_TYPE(int8_t, int8, i8tostr3, 1 ); // 123, -12 right-justified

Loading…
Cancel
Save