mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-25 20:26:41 +00:00
Fix toggle, back, prev, next properties
This commit is contained in:
parent
03f891c740
commit
1c62b5ef97
@ -888,7 +888,7 @@ static hasp_attribute_type_t hasp_process_gauge_attribute(lv_obj_t* obj, uint16_
|
|||||||
|
|
||||||
static hasp_attribute_type_t specific_page_attribute(lv_obj_t* obj, uint16_t attr_hash, int32_t& val, bool update)
|
static hasp_attribute_type_t specific_page_attribute(lv_obj_t* obj, uint16_t attr_hash, int32_t& val, bool update)
|
||||||
{
|
{
|
||||||
if(!obj_check_type(obj, LV_HASP_PAGE)) return hasp_attribute_type_t::ATTR_NOT_FOUND;
|
if(!obj_check_type(obj, LV_HASP_SCREEN)) return hasp_attribute_type_t::ATTR_NOT_FOUND;
|
||||||
|
|
||||||
uint8_t pageid;
|
uint8_t pageid;
|
||||||
|
|
||||||
@ -1659,6 +1659,7 @@ static hasp_attribute_type_t attribute_common_bool(lv_obj_t* obj, uint16_t attr_
|
|||||||
default:
|
default:
|
||||||
return hasp_attribute_type_t::ATTR_NOT_FOUND; // attribute_not found
|
return hasp_attribute_type_t::ATTR_NOT_FOUND; // attribute_not found
|
||||||
}
|
}
|
||||||
|
break; // attribute_found
|
||||||
|
|
||||||
default:
|
default:
|
||||||
return hasp_attribute_type_t::ATTR_NOT_FOUND; // attribute_not found
|
return hasp_attribute_type_t::ATTR_NOT_FOUND; // attribute_not found
|
||||||
|
Loading…
x
Reference in New Issue
Block a user