Use C++ language supported 'nullptr' (#13944)
This commit is contained in:
1 parent
e53d7e5517
commit
ad4ffa1d2f
70 files changed
+670
-668
No files matched your search
@@ -5,7 +5,7 @@
|
||||
#undef digitalPinToPCICR
|
||||
#define digitalPinToPCICR(p) ( ((p) >= 10 && (p) <= 15) || \
|
||||
((p) >= 50 && (p) <= 53) || \
|
||||
((p) >= 62 && (p) <= 69) ? &PCICR : (uint8_t *)0)
|
||||
((p) >= 62 && (p) <= 69) ? &PCICR : nullptr)
|
||||
#endif
|
||||
|
||||
void setup() {
|
||||
|
||||
Reference in new issue
Block a user