Commit a5a7e4e8 authored by Simone Primarosa's avatar Simone Primarosa

Update 4.2.0 dev

parent b3b1118d
...@@ -1699,6 +1699,7 @@ int lcd_strlen_P(const char *s) { ...@@ -1699,6 +1699,7 @@ int lcd_strlen_P(const char *s) {
#if ENABLED(SDSUPPORT) && ENABLED(SD_SETTINGS) #if ENABLED(SDSUPPORT) && ENABLED(SD_SETTINGS)
void set_sd_dot() { void set_sd_dot() {
#if ENABLED(DOGLCD)
u8g.firstPage(); u8g.firstPage();
do { do {
u8g.setColorIndex(1); u8g.setColorIndex(1);
...@@ -1706,8 +1707,10 @@ int lcd_strlen_P(const char *s) { ...@@ -1706,8 +1707,10 @@ int lcd_strlen_P(const char *s) {
u8g.setColorIndex(1); // black on white u8g.setColorIndex(1); // black on white
(*currentMenu)(); (*currentMenu)();
} while( u8g.nextPage() ); } while( u8g.nextPage() );
#endif
} }
void unset_sd_dot() { void unset_sd_dot() {
#if ENABLED(DOGLCD)
u8g.firstPage(); u8g.firstPage();
do { do {
u8g.setColorIndex(0); u8g.setColorIndex(0);
...@@ -1715,6 +1718,7 @@ int lcd_strlen_P(const char *s) { ...@@ -1715,6 +1718,7 @@ int lcd_strlen_P(const char *s) {
u8g.setColorIndex(1); // black on white u8g.setColorIndex(1); // black on white
(*currentMenu)(); (*currentMenu)();
} while( u8g.nextPage() ); } while( u8g.nextPage() );
#endif
} }
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment