I think all of these "MAX_DEVS" entries can be deleted now that we have proper malloc even without freertos.