We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f50539a commit e42a83cCopy full SHA for e42a83c
cores/arduino/pins_arduino.h
@@ -34,7 +34,7 @@ extern "C" {
34
35
#define NOT_AN_INTERRUPT NC // -1
36
#define DEND PEND
37
-#define NUM_DIGITAL_PINS DEND
+#define NUM_DIGITAL_PINS ((uint32_t)DEND)
38
#define NUM_ANALOG_INPUTS (AEND-A0)
39
40
// Convert a digital pin number Dxx to a PinName PX_n
0 commit comments