mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-27 05:06:44 +00:00
Use lv_part_t and lv_state_t
This commit is contained in:
parent
ef2e1673a0
commit
15da590fab
@ -359,9 +359,9 @@ static hasp_attribute_type_t hasp_local_style_attr(lv_obj_t* obj, const char* at
|
|||||||
const char* payload, bool update, int32_t& val)
|
const char* payload, bool update, int32_t& val)
|
||||||
{
|
{
|
||||||
char attr[32];
|
char attr[32];
|
||||||
uint8_t part = LV_PART_MAIN;
|
lv_part_t part = LV_PART_MAIN;
|
||||||
uint8_t state = LV_STATE_DEFAULT;
|
lv_state_t state = LV_STATE_DEFAULT;
|
||||||
int16_t var = atoi(payload);
|
int32_t var = atoi(payload);
|
||||||
|
|
||||||
// test_prop(attr_hash);
|
// test_prop(attr_hash);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user