aboutsummaryrefslogtreecommitdiff
path: root/tk.h
diff options
context:
space:
mode:
authorSelene ToyKeeper2023-04-25 01:07:15 -0600
committerSelene ToyKeeper2023-04-25 01:07:15 -0600
commit5f6bb2bda2dd4eccbdfba94e5d35cedc8c0c42dc (patch)
tree37ceff579db3293ea44947d6426873afd04e2065 /tk.h
parentadded stepped tint ramping (diff)
downloadanduril-5f6bb2bda2dd4eccbdfba94e5d35cedc8c0c42dc.tar.gz
anduril-5f6bb2bda2dd4eccbdfba94e5d35cedc8c0c42dc.tar.bz2
anduril-5f6bb2bda2dd4eccbdfba94e5d35cedc8c0c42dc.zip
updated D4Sv2-tintramp -> Emisar 2-channel build target ...
... and reworked how gradual_tick() works ... and updated LT1S Pro to use new method
Diffstat (limited to 'tk.h')
-rw-r--r--tk.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/tk.h b/tk.h
index d618134..785808d 100644
--- a/tk.h
+++ b/tk.h
@@ -9,6 +9,14 @@
// but which don't need to be repeated in every source file
////
+// AVR GCC has no boolean type by default
+// (this isn't native bool, but it's mostly okay)
+#define bool uint8_t
+#define false 0
+#define true 1
+#define FALSE 0
+#define TRUE 1
+
// create a way to include files defined at the command line,
// like with "gcc -DCONFIGFILE=foo.h"
#define incfile2(s) #s