diff options
author | Fulup Ar Foll <fulup@iot.bzh> | 2017-08-16 10:49:51 +0200 |
---|---|---|
committer | Fulup Ar Foll <fulup@iot.bzh> | 2017-08-16 10:49:51 +0200 |
commit | 4ca8fd4015479fa758a789d137a693c30fec8cae (patch) | |
tree | 45cac25de622ded5802f69f71ce958d3633ab22a /Controler-afb/ctl-events.c | |
parent | 716d28f99637d6f2b8eb2758c2da41da67b8027c (diff) |
Moved FileConfigScan to AudioCommon and Documentation
Diffstat (limited to 'Controler-afb/ctl-events.c')
-rw-r--r-- | Controler-afb/ctl-events.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Controler-afb/ctl-events.c b/Controler-afb/ctl-events.c index f76feca..18aac53 100644 --- a/Controler-afb/ctl-events.c +++ b/Controler-afb/ctl-events.c @@ -75,7 +75,7 @@ STATIC int DoSendEvent (void *context) { else ctx->value =1; ctlEventJ = json_object_new_object(); - json_object_object_add(ctlEventJ,"action", json_object_new_string(ctx->label)); + json_object_object_add(ctlEventJ,"signal", json_object_new_string(ctx->label)); json_object_object_add(ctlEventJ,"value" , json_object_new_int(ctx->value)); int done = afb_event_push(afbevt, ctlEventJ); |