Ver código fonte

Remove initial cursor setting

The cursor position is controlled by
the for-loop

Change in memory:
Flash: -8 bytes
SRAM: 0 bytes
Guðni Már Gilbert 2 anos atrás
pai
commit
4219beed71
1 arquivos alterados com 0 adições e 1 exclusões
  1. 0 1
      Firmware/ultralcd.cpp

+ 0 - 1
Firmware/ultralcd.cpp

@@ -3006,7 +3006,6 @@ static inline bool pgm_is_interpunction(const char *c_addr)
  */
 static const char* lcd_display_message_fullscreen_nonBlocking_P(const char *msg)
 {
-    lcd_set_cursor(0, 0);
     const char *msgend = msg;
     bool multi_screen = false;
     for (uint8_t row = 0; row < LCD_HEIGHT; ++ row) {