mirror of
https://github.com/esphome/esphome.git
synced 2026-07-10 08:55:36 +00:00
Keep CRASH_DATA_VERSION at 1 since version 1 was never shipped
Co-Authored-By: J. Nick Koston <nick@koston.org>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user