Since this now runs in a task delete this and replace with

    #error requires FreeRTOS