Skip to content

Commit

Permalink
Berry 'tasmota.settings' entries for PixelType (#22912)
Browse files Browse the repository at this point in the history
  • Loading branch information
s-hadinger authored Jan 31, 2025
1 parent d72ec45 commit 0bc319a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 },
Expand Down

0 comments on commit 0bc319a

Please sign in to comment.