From 7e484d16eeffd2791671a407df56eeea3de3f756 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Wed, 11 Mar 2026 12:29:19 -1000 Subject: [PATCH] Keep CRASH_DATA_VERSION at 1 since version 1 was never shipped Co-Authored-By: J. Nick Koston --- esphome/components/esp32/crash_handler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esphome/components/esp32/crash_handler.cpp b/esphome/components/esp32/crash_handler.cpp index ad21786d0f..b8fb99b5e4 100644 --- a/esphome/components/esp32/crash_handler.cpp +++ b/esphome/components/esp32/crash_handler.cpp @@ -63,7 +63,7 @@ static inline bool is_return_addr(uint32_t addr) { // Magic is second to validate the data. Remaining fields can change between versions. // Version is uint32_t because it would be padded to 4 bytes anyway before the next // uint32_t field, so we use the full width rather than wasting 3 bytes of padding. -static constexpr uint32_t CRASH_DATA_VERSION = 2; +static constexpr uint32_t CRASH_DATA_VERSION = 1; struct RawCrashData { uint32_t version; uint32_t magic;