Merge pull request #2586 from leptun/patch-1

🐛Flip lcd_detect_IRsensor logic
This commit is contained in:
DRracer 2020-04-15 11:24:38 +02:00 committed by GitHub
commit 1d4b0a9c47
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7563,7 +7563,7 @@ static void lcd_detect_IRsensor(){
bMenuFSDetect = true; // inhibits some code inside "manage_inactivity()"
bAction = lcd_show_fullscreen_message_yes_no_and_wait_P(_i("Is the filament loaded?"), false, false);
if(!bAction){
if(bAction){
lcd_show_fullscreen_message_and_wait_P(_i("Please unload the filament first, then repeat this action."));
return;
}