Berry 'tasmota.settings' entries for PixelType (#22912)

This commit is contained in:
s-hadinger 2025-01-31 22:07:44 +01:00 committed by GitHub
parent d72ec454c0
commit 0bc319acb5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 2 deletions

View File

@ -21,6 +21,7 @@ All notable changes to this project will be documented in this file.
- Berry `tasmota.add_rule_once` and auto-remove rules with same pattern and id (#22900)
- Berry example for HeatFan WiFi Controller
- LVGL add `lv.set_paint_cb()` to register a callback when screen is refreshed
- Berry `tasmota.settings` entries for PixelType
### Breaking Changed

View File

@ -52,15 +52,18 @@ extern "C" {
extern const be_ctypes_structure_t be_tasmota_settings_struct = {
sizeof(TSettings), /* size in bytes */
11, /* number of elements */
14, /* number of elements */
nullptr,
(const be_ctypes_structure_item_t[11]) {
(const be_ctypes_structure_item_t[14]) {
// Warning: fields below need to be in alphabetical order
{ "bootcount", offsetof(TSettings, bootcount), 0, 0, ctypes_u16, 0 },
{ "light_pixels", 0x496, 0, 15, ctypes_bf, 0 },
{ "light_pixels_alternate", 0xEC5, 7, 1, ctypes_bf, 0 },
{ "light_pixels_height_1", 0xEC4, 0, 15, ctypes_bf, 0 },
{ "light_pixels_order", 0xFD8, 4, 3, ctypes_bf, 0 },
{ "light_pixels_reverse", 0x497, 7, 1, ctypes_bf, 0 },
{ "light_pixels_rgbw", 0xFD8, 7, 1, ctypes_bf, 0 },
{ "light_pixels_w_first", 0xFD9, 0, 1, ctypes_bf, 0 },
{ "mqttlog_level", offsetof(TSettings, mqttlog_level), 0, 0, ctypes_u8, 0 },
{ "seriallog_level", offsetof(TSettings, seriallog_level), 0, 0, ctypes_u8, 0 },
{ "sleep", offsetof(TSettings, sleep), 0, 0, ctypes_u8, 0 },