From 5f6bb2bda2dd4eccbdfba94e5d35cedc8c0c42dc Mon Sep 17 00:00:00 2001 From: Selene ToyKeeper Date: Tue, 25 Apr 2023 01:07:15 -0600 Subject: updated D4Sv2-tintramp -> Emisar 2-channel build target ... ... and reworked how gradual_tick() works ... and updated LT1S Pro to use new method --- tk.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'tk.h') 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 -- cgit v1.2.3