#include <stdio.h>
#include <stdint.h>
#include <stdbool.h>
+#include <ctype.h>
#include <string.h>
#include <stdlib.h>
#include "errnum.h"
#define GCC_BUG_61443 1
#endif /* PR61443 */
+#define DEVICE_NAME __AVR_DEVICE_NAME__
+
#else
// TODO: stm32
#endif /* __AVR__ */
#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)