Fix regressions affecting compilation

This fixes two regressions, caused by #1167 and #1191 .
This commit is contained in:
Scott Lahteine
2014-12-30 07:36:18 -08:00
parent 3d1da45f3e
commit 2ec2bf1564
2 changed files with 17 additions and 14 deletions

View File

@ -337,7 +337,7 @@ static void lcd_implementation_drawmenu_generic(uint8_t row, const char* pstr, c
u8g.setColorIndex(1); // restore settings to black on white
}
static void _drawmenu_setting_edit_generic(uint8_t row, const char* pstr, char pre_char, char* data, bool pgm) {
static void _drawmenu_setting_edit_generic(uint8_t row, const char* pstr, char pre_char, const char* data, bool pgm) {
char c;
uint8_t n = LCD_WIDTH - 1 - 2 - (pgm ? strlen_P(data) : strlen(data));