Add %mac% string template

This commit is contained in:
fvanroie 2022-09-26 20:51:44 +02:00
parent f12a651443
commit 7c4537225b

View File

@ -225,7 +225,7 @@ static void my_label_set_text(lv_obj_t* label, const char* text)
switch(hash) { switch(hash) {
case ATTR_TEXT_MAC: case ATTR_TEXT_MAC:
if(len == 4) break; if(len == 5) static_text = haspDevice.get_hardware_id();
break; break;
#if HASP_USE_WIFI > 0 #if HASP_USE_WIFI > 0