Use const parameters instead of static casting
Alternative fix to #3149
This commit is contained in:
parent
09ef955191
commit
c97c2dcaf7
4 changed files with 8 additions and 8 deletions
|
|
@ -5,7 +5,7 @@
|
|||
#if ENABLED(ULTRA_LCD)
|
||||
#include "buzzer.h"
|
||||
|
||||
int lcd_strlen(char* s);
|
||||
int lcd_strlen(const char* s);
|
||||
int lcd_strlen_P(const char* s);
|
||||
void lcd_update();
|
||||
void lcd_init();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue