Fix bug introduced by 2421b788: Check once per second when waiting for temp instead of every 256 seconds
This commit is contained in:
parent
cea2a656a5
commit
e05e12c9e0
|
|
@ -2,14 +2,9 @@
|
|||
#define _DDA_QUEUE
|
||||
|
||||
#include "dda.h"
|
||||
#include "timer.h"
|
||||
|
||||
#if (F_CPU & 0xFF000000) == 0
|
||||
// set timeout to 1 second
|
||||
#define HEATER_WAIT_TIMEOUT (F_CPU << 8)
|
||||
#else
|
||||
// set timeout to maximum
|
||||
#define HEATER_WAIT_TIMEOUT 0xFFFFFF00
|
||||
#endif
|
||||
#define HEATER_WAIT_TIMEOUT 1000 MS
|
||||
|
||||
/*
|
||||
variables
|
||||
|
|
|
|||
Loading…
Reference in New Issue