aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino
diff options
context:
space:
mode:
Diffstat (limited to 'cores/arduino')
-rwxr-xr-xcores/arduino/wiring.h2
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;