From a9104693ffc69444c3f6dd536f22a6202e1e2460 Mon Sep 17 00:00:00 2001 From: haoran Date: Fri, 11 Oct 2024 14:38:13 +0800 Subject: [PATCH] change device info struct format --- xs_device_info.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xs_device_info.h b/xs_device_info.h index 367cccf..d635a55 100644 --- a/xs_device_info.h +++ b/xs_device_info.h @@ -31,9 +31,9 @@ #define DEVICE_INFO_START_ADD 0x080E0000 // typedef struct { - uint8_t year; - uint8_t weak; uint16_t index; + uint8_t weak; + uint8_t year; } xs_device_info_t; xs_device_info_t* xs_device_info_get();