]> cloudbase.mooo.com Git - z180-stamp.git/blobdiff - include/common.h
merge/unify chkcpu and freq.
[z180-stamp.git] / include / common.h
index 53e3276d2fea3b7f92c06d78890e188400d24dee..16f96bb0e944bfbffc403979d49e3f16a493a1b2 100644 (file)
@@ -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,7 +82,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)