diff --git a/dda_queue.h b/dda_queue.h index 275ca5f..b676fae 100644 --- a/dda_queue.h +++ b/dda_queue.h @@ -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