X-Git-Url: http://cloudbase.mooo.com/gitweb/z180-stamp.git/blobdiff_plain/dbc1de70e1824cf1a649d892db5746b86b34b4e7..976db69ffa80c4d499e53f6f22c26d784fdac0a1:/include/common.h diff --git a/include/common.h b/include/common.h index 53e3276..e89b91f 100644 --- a/include/common.h +++ b/include/common.h @@ -10,6 +10,7 @@ #include #include #include +#include #include #include #include "errnum.h" @@ -47,6 +48,8 @@ struct bits { #define GCC_BUG_61443 1 #endif /* PR61443 */ +#define DEVICE_NAME __AVR_DEVICE_NAME__ + #else // TODO: stm32 #endif /* __AVR__ */ @@ -80,7 +83,6 @@ extern volatile uint_least8_t Stat; #define S_10MS_TO (1<<0) #define S_MSG_PENDING (1<<1) -#define S_IO_0X40 (1<<2) #define S_CON_PENDING (1<<3) #define S_RESET_POLARITY (1<<4)