summaryrefslogtreecommitdiff
path: root/lib/luavgl/src/widgets/switch.c
diff options
context:
space:
mode:
authorjacqueline <me@jacqueline.id.au>2024-06-12 17:54:10 +1000
committerjacqueline <me@jacqueline.id.au>2024-06-12 17:54:10 +1000
commit611176ed667c4ed7ee9f609e958f9404f4aee91d (patch)
tree34fbbb5e6efbe0e300e0fc47ebc6b421e8a25e1f /lib/luavgl/src/widgets/switch.c
parentbd01bf3845fd67dc4e03f56d044b3bc53245eeed (diff)
downloadtangara-fw-611176ed667c4ed7ee9f609e958f9404f4aee91d.tar.gz
Port and fix our luavgl additions
Diffstat (limited to 'lib/luavgl/src/widgets/switch.c')
-rw-r--r--lib/luavgl/src/widgets/switch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/luavgl/src/widgets/switch.c b/lib/luavgl/src/widgets/switch.c
index e66f620e..b7e38d07 100644
--- a/lib/luavgl/src/widgets/switch.c
+++ b/lib/luavgl/src/widgets/switch.c
@@ -1,6 +1,6 @@
#include "luavgl.h"
#include "private.h"
-#include <src/widgets/lv_switch.h>
+#include <src/widgets/switch/lv_switch.h>
static int luavgl_switch_create(lua_State *L) {
return luavgl_obj_create_helper(L, lv_switch_create);
@@ -11,7 +11,7 @@ LUALIB_API int luavgl_switch_set_property_kv(lua_State *L, void *data) {
/* switches only use base properties */
int ret = luavgl_obj_set_property_kv(L, obj);
if (ret != 0) {
- debug("unkown property for switch.\n");
+ LV_LOG_ERROR("unkown property for switch.\n");
}
return ret;