FreeRTOS hanging in idle Task

Those macros should be fine as they are global masks, which are not used by FreeRTOS.