#else
// TODO: stm32
-#endif
+#endif /* __AVR__ */
#include <stdio.h>
#define Stat GPIOR0
#else
extern volatile uint_least8_t Stat;
-#endif
+#endif /* __AVR__ */
#define S_10MS_TO (1<<0)
-
-
-#include <util/delay.h>
+#define S_Z180_RUNNING (2<<0)
static inline
void my_puts(const char *s)
{
fputs(s, stdout);
-// _delay_ms(10);
}
+#ifdef __AVR__
static inline
void my_puts_P(const char *s)
{
fputs_P(s, stdout);
-// _delay_ms(10);
}
+#else
+static inline
+void my_puts_P(const char *s)
+{
+ fputs(s, stdout);
+}
+#endif /* __AVR__ */
#endif /* COMMON_H */