X-Git-Url: http://cloudbase.mooo.com/gitweb/z180-stamp.git/blobdiff_plain/7dda03f3ce376f35d080325551ccdca6c7414061..1f12ca6c89dbd3e4414b9d3b997736da4df69549:/include/common.h?ds=sidebyside diff --git a/include/common.h b/include/common.h index 9bd3418..16f96bb 100644 --- a/include/common.h +++ b/include/common.h @@ -47,6 +47,8 @@ struct bits { #define GCC_BUG_61443 1 #endif /* PR61443 */ +#define DEVICE_NAME __AVR_DEVICE_NAME__ + #else // TODO: stm32 #endif /* __AVR__ */ @@ -80,8 +82,8 @@ extern volatile uint_least8_t Stat; #define S_10MS_TO (1<<0) #define S_MSG_PENDING (1<<1) -#define S_CON_PENDING (1<<2) -#define S_RESET_POLARITY (1<<3) +#define S_CON_PENDING (1<<3) +#define S_RESET_POLARITY (1<<4) static inline int my_puts(const char *s)