From df80097c257d23817254bcad780f46a71025b898 Mon Sep 17 00:00:00 2001 From: William Emfinger Date: Thu, 21 Aug 2025 14:41:03 -0500 Subject: [PATCH] fix: Order of task_config members --- src/espnow/include/espnow.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/espnow/include/espnow.h b/src/espnow/include/espnow.h index f91a8f6..29c5cf1 100644 --- a/src/espnow/include/espnow.h +++ b/src/espnow/include/espnow.h @@ -98,8 +98,8 @@ typedef struct { } receive_enable; /**< Set 1 to enable receiving the corresponding ESP-NOW data type */ struct { uint32_t stack_size_bytes; /**< Task stack size in bytes. Increase this if you perform more work in the callbacks. */ - int32_t core_id; /**< Task core ID, tskNO_AFFINITY means not pinned to a core. */ uint8_t priority; /**< Task priority, tskIDLE_PRIORITY is the lowest priority */ + int32_t core_id; /**< Task core ID, tskNO_AFFINITY means not pinned to a core. */ } task_config; /**< Task configuration for the espnow_main task. */ } espnow_config_t;