Fix a DEBUG_LEVELING_FEATURE string copy (#14200)

This commit is contained in:
Tanguy Pruvot 2019-06-01 01:52:11 +02:00 committed by Scott Lahteine
parent 9d9030a39c
commit e4260a41cb

View File

@ -184,7 +184,7 @@ static void lcd_factory_settings() {
); );
char mess[21]; char mess[21];
strcpy_P(mess, PSTR("BLTouch Mode - ")); strcpy_P(mess, PSTR("BLTouch Mode - "));
sprintf_P(&mess[15], bltouch.last_written_mode ? PSTR("5V") : PSTR("OD")); strcpy_P(&mess[15], bltouch.last_written_mode ? PSTR("5V") : PSTR("OD"));
ui.set_status(mess); ui.set_status(mess);
ui.return_to_status(); ui.return_to_status();
} }