From 7c4537225b9a33d02fbf4296b5f631f39a0b5420 Mon Sep 17 00:00:00 2001 From: fvanroie Date: Mon, 26 Sep 2022 20:51:44 +0200 Subject: [PATCH] Add %mac% string template --- src/hasp/hasp_attribute_helper.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hasp/hasp_attribute_helper.h b/src/hasp/hasp_attribute_helper.h index 906f48a6..092cf45c 100644 --- a/src/hasp/hasp_attribute_helper.h +++ b/src/hasp/hasp_attribute_helper.h @@ -225,7 +225,7 @@ static void my_label_set_text(lv_obj_t* label, const char* text) switch(hash) { case ATTR_TEXT_MAC: - if(len == 4) break; + if(len == 5) static_text = haspDevice.get_hardware_id(); break; #if HASP_USE_WIFI > 0