Skip impossible PWM sanity-checks

This commit is contained in:
Scott Lahteine
2020-03-22 00:19:05 -05:00
parent fe154fa5de
commit 580d314fbe
2 changed files with 2 additions and 1 deletions

View File

@ -160,6 +160,7 @@ void HAL_idletask();
#ifndef digitalPinHasPWM
#define digitalPinHasPWM(P) (PIN_MAP[P].timer_device != nullptr)
#define NO_COMPILE_TIME_PWM
#endif
#define CRITICAL_SECTION_START() uint32_t primask = __get_primask(); (void)__iCliRetVal()