Use C++ language supported 'nullptr' (#13944)
This commit is contained in:
		@@ -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