aboutsummaryrefslogtreecommitdiffstats
path: root/wirish/wirish.h
diff options
context:
space:
mode:
Diffstat (limited to 'wirish/wirish.h')
-rw-r--r--wirish/wirish.h22
1 files changed, 5 insertions, 17 deletions
diff --git a/wirish/wirish.h b/wirish/wirish.h
index 311c74f..82a9897 100644
--- a/wirish/wirish.h
+++ b/wirish/wirish.h
@@ -32,25 +32,20 @@
#define _WIRISH_H_
#include "libmaple.h"
+
+#include "wirish_types.h"
#include "boards.h"
-#include "time.h"
-#include "timers.h"
#include "io.h"
#include "bits.h"
#include "pwm.h"
#include "ext_interrupts.h"
+#include "wirish_debug.h"
#include "wirish_math.h"
-
-#ifdef __cplusplus
+#include "wirish_time.h"
#include "HardwareSPI.h"
#include "HardwareSerial.h"
-#include "usb_serial.h"
#include "HardwareTimer.h"
-#endif
-
-#ifdef __cplusplus
-extern "C"{
-#endif
+#include "usb_serial.h"
/* Arduino wiring macros and bit defines */
#define HIGH 0x1
@@ -74,12 +69,5 @@ extern "C"{
typedef uint8 boolean;
typedef uint8 byte;
-void init(void);
-void shiftOut(uint8 dataPin, uint8 clockPin, uint8 bitOrder, byte val);
-
-#ifdef __cplusplus
-} // extern "C"
-#endif
-
#endif