mirror of
https://github.com/arendst/Tasmota.git
synced 2025-04-24 23:07:17 +00:00
Add bootcount
This commit is contained in:
parent
65672b62ae
commit
6783a90ccc
@ -44,9 +44,10 @@ extern "C" {
|
||||
|
||||
extern const be_ctypes_structure_t be_tasmota_settings_struct = {
|
||||
sizeof(TSettings), /* size in bytes */
|
||||
1, /* number of elements */
|
||||
2, /* number of elements */
|
||||
nullptr,
|
||||
(const be_ctypes_structure_item_t[1]) {
|
||||
(const be_ctypes_structure_item_t[2]) {
|
||||
{ "bootcount", offsetof(TSettings, bootcount), 0, 0, ctypes_u16, 0 },
|
||||
{ "sleep", offsetof(TSettings, sleep), 0, 0, ctypes_u8, 0 },
|
||||
}};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user