Fix compilation error for MKS Robin (#13506)

This commit is contained in:
Alexander Gavrilenko authored and Scott Lahteine committed 2019-03-29 12:40:24 -05:00
1 parent c6dbe6e9d6
commit 6d9aaca082
6 files changed
+26 -7

No files matched your search

+4
View File
@@ -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())