|
@@ -5123,10 +5123,10 @@ void lcd_update() {
|
5123
|
5123
|
|
5124
|
5124
|
#if ENABLED(SDSUPPORT) && PIN_EXISTS(SD_DETECT)
|
5125
|
5125
|
|
5126
|
|
- const bool sd_status = IS_SD_INSERTED;
|
|
5126
|
+ const uint8_t sd_status = (uint8_t)IS_SD_INSERTED;
|
5127
|
5127
|
if (sd_status != lcd_sd_status && lcd_detected()) {
|
5128
|
5128
|
|
5129
|
|
- bool old_sd_status = lcd_sd_status; // prevent re-entry to this block!
|
|
5129
|
+ uint8_t old_sd_status = lcd_sd_status; // prevent re-entry to this block!
|
5130
|
5130
|
lcd_sd_status = sd_status;
|
5131
|
5131
|
|
5132
|
5132
|
if (sd_status) {
|