MMU: Make sound after the hotend reaches temp, not while waiting

This commit is contained in:
D.R.racer 2023-01-14 15:36:24 +01:00 committed by DRracer
parent 5582114628
commit 58bed7e388
1 changed files with 2 additions and 1 deletions

View File

@ -33,7 +33,8 @@ void waitForHotendTargetTemp(uint16_t delay, F f){
}
void WaitForHotendTargetTempBeep(){
waitForHotendTargetTemp(3000, []{ Sound_MakeSound(e_SOUND_TYPE_StandardPrompt); } );
waitForHotendTargetTemp(3000, []{ });
Sound_MakeSound(e_SOUND_TYPE_StandardPrompt);
}
MMU2 mmu2;