diff options
Diffstat (limited to 'cores')
-rwxr-xr-x | cores/arduino/wiring.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cores/arduino/wiring.h b/cores/arduino/wiring.h index 2f84f78..21d62c7 100755 --- a/cores/arduino/wiring.h +++ b/cores/arduino/wiring.h @@ -92,7 +92,7 @@ extern "C"{ typedef unsigned int word; -#define bit(b) (1 << (b)) +#define bit(b) (1UL << (b)) typedef uint8_t boolean; typedef uint8_t byte; |