Move: esp_sys based freertos port priority setting
@@ -59,7 +59,7 @@ typedef UBaseType_t esp_sys_thread_prio_t;
#define ESP_SYS_SEM_NULL ((SemaphoreHandle_t)0)
#define ESP_SYS_MBOX_NULL ((QueueHandle_t)0)
#define ESP_SYS_TIMEOUT ((TickType_t)portMAX_DELAY)
-#define ESP_SYS_THREAD_PRIO (1)
+#define ESP_SYS_THREAD_PRIO (configMAX_PRIORITIES - 1)
#define ESP_SYS_THREAD_SS (1024)
#endif /* ESP_CFG_OS && !__DOXYGEN__ */
