Skip to content

Commit

Permalink
Add #if HASP_USE_QRCODE
Browse files Browse the repository at this point in the history
  • Loading branch information
fvanroie committed Apr 3, 2024
1 parent 9ba2558 commit eff65ce
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/hasp/hasp_event.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,11 @@ void delete_event_handler(lv_obj_t* obj, lv_event_t event)
my_image_release_resources(obj);
break;

#if HASP_USE_QRCODE > 0
case LV_HASP_QRCODE:
lv_qrcode_delete(obj);
break;
#endif

case LV_HASP_GAUGE:
break;
Expand Down

0 comments on commit eff65ce

Please sign in to comment.