X-Git-Url: http://cloudbase.mooo.com/gitweb/z180-stamp.git/blobdiff_plain/889202c46ced1be4fc0db3faf63564722eba2865..05994bd90cb36f10ff72c6a70d7cecc61b67fb2f:/include/common.h diff --git a/include/common.h b/include/common.h index 74339df..121922f 100644 --- a/include/common.h +++ b/include/common.h @@ -4,6 +4,9 @@ #ifdef __AVR__ #include #include +#include + +#define udelay(n) _delay_us(n) //TODO: // Known to work: 4.8.4, 4.9.1 @@ -38,8 +41,8 @@ extern volatile uint_least8_t Stat; #endif /* __AVR__ */ #define S_10MS_TO (1<<0) -#define S_MSG_PENDING (2<<0) -#define S_CON_PENDING (3<<0) +#define S_MSG_PENDING (1<<1) +#define S_CON_PENDING (1<<2) static inline void my_puts(const char *s)