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
@@ -129,7 +129,7 @@ void HAL_init();
|
||||
#endif
|
||||
|
||||
#ifndef digitalPinHasPWM
|
||||
#define digitalPinHasPWM(P) (PIN_MAP[P].timer_device != NULL)
|
||||
#define digitalPinHasPWM(P) (PIN_MAP[P].timer_device != nullptr)
|
||||
#endif
|
||||
|
||||
#define CRITICAL_SECTION_START uint32_t primask = __get_primask(); (void)__iCliRetVal()
|
||||
|
||||
Reference in new issue
Block a user