X-Git-Url: http://cloudbase.mooo.com/gitweb/z180-stamp.git/blobdiff_plain/21a24f90c5aaaaf13f91716208b32cde163c5918..41d36f28612cb6c49cf0260236f3b834549883be:/include/common.h diff --git a/include/common.h b/include/common.h index a92f62c..90b0283 100644 --- a/include/common.h +++ b/include/common.h @@ -17,8 +17,10 @@ #ifdef __FLASH #define FLASH __flash +#define MEMX __memx #else #define FLASH +#define MEMX #endif #define stringify(s) tostring(s) @@ -43,19 +45,15 @@ void my_puts(const char *s) fputs(s, stdout); } -#ifdef __AVR__ static inline void my_puts_P(const char *s) { +#ifdef __AVR__ fputs_P(s, stdout); -} - #else -static inline -void my_puts_P(const char *s) -{ fputs(s, stdout); -} #endif /* __AVR__ */ +} + #endif /* COMMON_H */