aboutsummaryrefslogtreecommitdiff
path: root/accel.h
diff options
context:
space:
mode:
Diffstat (limited to 'accel.h')
-rw-r--r--accel.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/accel.h b/accel.h
index b984fdd..129611c 100644
--- a/accel.h
+++ b/accel.h
@@ -4,7 +4,11 @@
#include <stdbool.h>
#include <stdint.h>
-typedef enum {HORIZON_NONE, HORIZON_POS, HORIZON_NEG} horizon;
+#define HORIZON_NONE 0
+#define HORIZON_POS 1
+#define HORIZON_NEG 2
+
+typedef uint8_t horizon;
void accelInit ();
void accelStart ();