summaryrefslogtreecommitdiff
path: root/include/common.h
diff options
context:
space:
mode:
authorLeo C2016-04-15 16:53:18 +0200
committerLeo C2016-04-15 16:53:18 +0200
commita1595a8e7fe2148c818aef75d454e9f5e0696f78 (patch)
tree2d2e12558376a83033364072d5721a23ea06210d /include/common.h
parentbe84a704bf7cb5505c42486e4ace33abab48470d (diff)
downloadz180-stamp-a1595a8e7fe2148c818aef75d454e9f5e0696f78.zip
Init ports for single step logic on ECB adapter. Use timer 5 instead of timer 4 for timeouts.
Diffstat (limited to 'include/common.h')
-rw-r--r--include/common.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/common.h b/include/common.h
index 10c4417..dea638a 100644
--- a/include/common.h
+++ b/include/common.h
@@ -1,12 +1,15 @@
/*
* (C) Copyright 2014 Leo C. <erbl259-lmu@yahoo.de>
*
- * SPDX-License-Identifier: GPL-2.0+
+ * SPDX-License-Identifier: GPL-2.0
*/
#ifndef COMMON_H
#define COMMON_H
+#include <stdio.h>
+#include <stdint.h>
+
#ifdef __AVR__
#include <avr/io.h>
#include <avr/pgmspace.h>
@@ -36,8 +39,6 @@ struct bits {
// TODO: stm32
#endif /* __AVR__ */
-#include <stdio.h>
-
#ifdef __FLASH
#define FLASH __flash
#define MEMX __memx