Skip to content

Commit

Permalink
HASPmota make delete() backwards compatible (arendst#22254)
Browse files Browse the repository at this point in the history
  • Loading branch information
s-hadinger authored and josef109 committed Nov 7, 2024
1 parent 2a305d5 commit d0d0876
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ All notable changes to this project will be documented in this file.
- Support for DALI 1 on ESP8266

### Breaking Changed
- HASPmota `delete` instead of `delete()` (#22245)

### Changed
- ESP32 platform update from 2024.09.10 to 2024.09.30 and Framework (Arduino Core) from v3.0.5 to v3.1.0.240926 (#22203)
- Berry improve `persist` dirty data handling (#22246)
- HASPmota `delete` instead of `delete()` (#22245)

### Fixed
- ESP32 Range Extender compile error with core 3.0.0 (#22205)
Expand Down
1 change: 1 addition & 0 deletions lib/libesp32_lvgl/lv_haspmota/src/embedded/lv_haspmota.be
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ class lvh_root
end
def get_delete()
self._delete()
return def () end
end
def _delete()
# to be overriden
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -345,16 +345,34 @@ be_local_closure(class_lvh_root_get_delete, /* name */
10, /* varg */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
1, /* has sup protos */
( &(const struct bproto*[ 1]) {
be_nested_proto(
0, /* nstack */
0, /* argc */
0, /* varg */
0, /* has upvals */
NULL, /* no upvals */
0, /* has sup protos */
NULL, /* no sub protos */
0, /* has constants */
NULL, /* no const */
be_str_weak(_anonymous_),
&be_const_str_solidified,
( &(const binstruction[ 1]) { /* code */
0x80000000, // 0000 RET 0
})
),
}),
1, /* has constants */
&be_ktab_class_lvh_root, /* shared constants */
be_str_weak(get_delete),
&be_const_str_solidified,
( &(const binstruction[ 3]) { /* code */
( &(const binstruction[ 4]) { /* code */
0x8C040119, // 0000 GETMET R1 R0 K25
0x7C040200, // 0001 CALL R1 1
0x80000000, // 0002 RET 0
0x84040000, // 0002 CLOSURE R1 P0
0x80040200, // 0003 RET 1 R1
})
)
);
Expand Down

0 comments on commit d0d0876

Please sign in to comment.