Use const parameters instead of static casting

Alternative fix to #3149
This commit is contained in:
Scott Lahteine
2016-03-19 03:36:53 -07:00
parent 09ef955191
commit c97c2dcaf7
4 changed files with 8 additions and 8 deletions

View File

@ -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();