Fix compiler warning:
sketch/menu.cpp: In function 'int menu_draw_item_puts_P(char, const char*, char)': sketch/menu.cpp:184:1: warning: no return statement in function returning non-void [-Wreturn-type]
This commit is contained in:
parent
89fc9e7f92
commit
acfcd59369
1 changed files with 1 additions and 1 deletions
|
@ -174,7 +174,7 @@ static void menu_draw_item_puts_P(char type_char, const char* str)
|
|||
lcd_printf_P(PSTR("%c%-18.18S%c"), (lcd_encoder == menu_item)?'>':' ', str, type_char);
|
||||
}
|
||||
|
||||
static int menu_draw_item_puts_P(char type_char, const char* str, char num)
|
||||
static void menu_draw_item_puts_P(char type_char, const char* str, char num)
|
||||
{
|
||||
lcd_set_cursor(0, menu_row);
|
||||
lcd_printf_P(PSTR("%c%-.16S "), (lcd_encoder == menu_item)?'>':' ', str);
|
||||
|
|
Loading…
Add table
Reference in a new issue