Modernise B syntax to 0b

f/keyboardio-model-100
Jesse Vincent 3 years ago
parent 414f9d3297
commit 0e3425297a
No known key found for this signature in database
GPG Key ID: 122F5DF7108E4046

@ -19,9 +19,9 @@
#include <Arduino.h> #include <Arduino.h>
#define INJECTED B10000000 #define INJECTED 0b10000000
#define IS_PRESSED B00000010 #define IS_PRESSED 0b00000010
#define WAS_PRESSED B00000001 #define WAS_PRESSED 0b00000001
/* keyIsPressed(): This is true if the key is pressed during this scan cycle. /* keyIsPressed(): This is true if the key is pressed during this scan cycle.
* This will be true for several consecutive cycles even for a single tap of * This will be true for several consecutive cycles even for a single tap of

Loading…
Cancel
Save