rodzic
fac4a5ea28
commit
4e56b8a84d
|
@ -68,6 +68,9 @@ void Commands::commandLoop()
|
|||
void Commands::checkForPeriodicalActions(bool allowNewMoves)
|
||||
{
|
||||
if(!executePeriodical) return;
|
||||
#if FEATURE_WATCHDOG
|
||||
HAL::pingWatchdog();
|
||||
#endif
|
||||
executePeriodical = 0;
|
||||
Extruder::manageTemperatures();
|
||||
if(--counter250ms == 0)
|
||||
|
|
|
@ -57,6 +57,9 @@ void playsound(int tone,int duration)
|
|||
{
|
||||
#if FEATURE_BEEPER
|
||||
if (!HAL::enablesound)return;
|
||||
#if FEATURE_WATCHDOG
|
||||
HAL::pingWatchdog();
|
||||
#endif
|
||||
HAL::tone(BEEPER_PIN, tone);
|
||||
HAL::delayMilliseconds(duration);
|
||||
HAL::noTone(BEEPER_PIN);
|
||||
|
|
Ładowanie…
Reference in New Issue