aboutsummaryrefslogtreecommitdiffstats
path: root/Controler-afb/ctl-binding.c
diff options
context:
space:
mode:
authorfulup <fulup.arfoll@iot.bzh>2017-08-11 19:44:21 +0200
committerfulup <fulup.arfoll@iot.bzh>2017-08-11 19:44:21 +0200
commitb65178642727536972d0c04e53b2310be58beb2e (patch)
treef06f8773ce44f8320e9e86cee60e59e1597d6b78 /Controler-afb/ctl-binding.c
parentc13952824e2cc110b9405e1bc9017801dd938ac0 (diff)
Almost working version with Json Config, Lua script and sharelib callbacks.
Diffstat (limited to 'Controler-afb/ctl-binding.c')
-rw-r--r--Controler-afb/ctl-binding.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Controler-afb/ctl-binding.c b/Controler-afb/ctl-binding.c
index fe9388f..dc225a4 100644
--- a/Controler-afb/ctl-binding.c
+++ b/Controler-afb/ctl-binding.c
@@ -31,17 +31,17 @@
PUBLIC void ctlapi_navigation (afb_req request) {
- ctlapi_dispatch (CTLAPI_NAVIGATION, request);
+ ctlapi_dispatch ("NAVIGATION", request);
}
PUBLIC void ctlapi_multimedia (afb_req request) {
- ctlapi_dispatch (CTLAPI_MULTIMEDIA, request);
+ ctlapi_dispatch ("MULTIMEDIA", request);
}
PUBLIC void ctlapi_emergency (afb_req request) {
- ctlapi_dispatch (CTLAPI_EMERGENCY, request);
+ ctlapi_dispatch ("EMERGENCY", request);
}
PUBLIC void ctlapi_monitor (afb_req request) {