From 8767a60f79bff4245733865d5d6ea9d772188e7e Mon Sep 17 00:00:00 2001 From: VietDzung Date: Sat, 8 Mar 2025 10:59:54 +0700 Subject: [PATCH] Temporary fix #307 issue, lose all data when change apiVersion on ESP32 --- src/knx/device_object.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/knx/device_object.h b/src/knx/device_object.h index fb3fd74..0733a72 100644 --- a/src/knx/device_object.h +++ b/src/knx/device_object.h @@ -9,7 +9,7 @@ class DeviceObject: public InterfaceObject public: // increase this version anytime DeviceObject-API changes // the following value represents the serialized representation of DeviceObject. - const uint16_t apiVersion = 2; + const uint16_t apiVersion = 1; // Fix #307 DeviceObject(); uint8_t* save(uint8_t* buffer) override;