|
@ -169,7 +169,7 @@ char lcd_print(char c) { |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
char lcd_print(char* str) { |
|
|
char lcd_print(const char* str) { |
|
|
char c; |
|
|
char c; |
|
|
int i = 0; |
|
|
int i = 0; |
|
|
char n = 0; |
|
|
char n = 0; |
|
@ -508,7 +508,7 @@ static void _drawmenu_setting_edit_generic(bool isSelected, uint8_t row, const c |
|
|
#define lcd_implementation_drawmenu_setting_edit_callback_long5(sel, row, pstr, pstr2, data, minValue, maxValue, callback) lcd_implementation_drawmenu_setting_edit_generic(sel, row, pstr, ftostr5(*(data))) |
|
|
#define lcd_implementation_drawmenu_setting_edit_callback_long5(sel, row, pstr, pstr2, data, minValue, maxValue, callback) lcd_implementation_drawmenu_setting_edit_generic(sel, row, pstr, ftostr5(*(data))) |
|
|
#define lcd_implementation_drawmenu_setting_edit_callback_bool(sel, row, pstr, pstr2, data, callback) lcd_implementation_drawmenu_setting_edit_generic_P(sel, row, pstr, (*(data))?PSTR(MSG_ON):PSTR(MSG_OFF)) |
|
|
#define lcd_implementation_drawmenu_setting_edit_callback_bool(sel, row, pstr, pstr2, data, callback) lcd_implementation_drawmenu_setting_edit_generic_P(sel, row, pstr, (*(data))?PSTR(MSG_ON):PSTR(MSG_OFF)) |
|
|
|
|
|
|
|
|
void lcd_implementation_drawedit(const char* pstr, char* value) { |
|
|
void lcd_implementation_drawedit(const char* pstr, const char* value) { |
|
|
uint8_t rows = 1; |
|
|
uint8_t rows = 1; |
|
|
uint8_t lcd_width = LCD_WIDTH, char_width = DOG_CHAR_WIDTH; |
|
|
uint8_t lcd_width = LCD_WIDTH, char_width = DOG_CHAR_WIDTH; |
|
|
uint8_t vallen = lcd_strlen(value); |
|
|
uint8_t vallen = lcd_strlen(value); |
|
|