Fix compilation error for MKS Robin (#13506)
This commit is contained in:
committed by
Scott Lahteine
parent
c6dbe6e9d6
commit
6d9aaca082
@ -130,6 +130,10 @@ void HAL_init();
|
||||
#define analogInputToDigitalPin(p) (p)
|
||||
#endif
|
||||
|
||||
#ifndef digitalPinHasPWM
|
||||
#define digitalPinHasPWM(P) (PIN_MAP[P].timer_device != NULL)
|
||||
#endif
|
||||
|
||||
#define CRITICAL_SECTION_START uint32_t primask = __get_primask(); (void)__iCliRetVal()
|
||||
#define CRITICAL_SECTION_END if (!primask) (void)__iSeiRetVal()
|
||||
#define ISRS_ENABLED() (!__get_primask())
|
||||
|
Reference in New Issue
Block a user