Files
nuttx/arch
nuttxs c4506929e9 arch/esp32_partition.c: fix the issue of switching from Factory to OTA_1
with a fixed seq of 1, which causes ota_get_bootseq() to return ota_0.

The current solution is to directly use the target partition's number (num)
as next_seq to ensure the correct increment logic of seq. Ensure the formula
(seq-1) % OTA_DATA_NUM + OTA_IMG_BOOT_OTA_0 correctly maps to ota_0 or ota_1

Signed-off-by: nuttxs <zhaoqing.zhang@sony.com>
2025-04-28 22:23:16 +08:00
..
2025-04-11 09:43:22 +08:00
2025-04-11 09:43:22 +08:00
2025-04-11 09:43:22 +08:00
2025-04-11 09:43:22 +08:00
2025-04-11 09:43:22 +08:00
2025-04-11 09:43:22 +08:00
2025-04-11 09:43:22 +08:00
2025-04-11 09:43:22 +08:00
2025-04-11 09:43:22 +08:00
2025-04-11 09:43:22 +08:00
2025-04-11 09:43:22 +08:00