From 15da590fab60c4a3274989f8e2ead8122db9cb71 Mon Sep 17 00:00:00 2001 From: fvanroie Date: Thu, 22 Jul 2021 00:55:04 +0200 Subject: [PATCH] Use lv_part_t and lv_state_t --- src/hasp/hasp_attribute.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/hasp/hasp_attribute.cpp b/src/hasp/hasp_attribute.cpp index 35052412..86acad44 100644 --- a/src/hasp/hasp_attribute.cpp +++ b/src/hasp/hasp_attribute.cpp @@ -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) { char attr[32]; - uint8_t part = LV_PART_MAIN; - uint8_t state = LV_STATE_DEFAULT; - int16_t var = atoi(payload); + lv_part_t part = LV_PART_MAIN; + lv_state_t state = LV_STATE_DEFAULT; + int32_t var = atoi(payload); // test_prop(attr_hash);