From 0c3eeed1bfa412a30c80a17336a4fd964f7c6fd0 Mon Sep 17 00:00:00 2001 From: harald Date: Tue, 19 Jan 2016 14:01:28 +0100 Subject: [PATCH] add leds --- examples/osd/arduino-merkurboard/sketch.pde | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/osd/arduino-merkurboard/sketch.pde b/examples/osd/arduino-merkurboard/sketch.pde index 67603c19a..fd6e2dd08 100644 --- a/examples/osd/arduino-merkurboard/sketch.pde +++ b/examples/osd/arduino-merkurboard/sketch.pde @@ -13,7 +13,7 @@ extern "C" { #include "rest-engine.h" -extern resource_t res_door, res_battery; +extern resource_t res_leds, res_battery; uint8_t door_pin = 3; uint8_t door_status = 0; @@ -27,7 +27,7 @@ void setup (void) digitalWrite(LED_PIN, HIGH); // init coap resourcen rest_init_engine (); - rest_activate_resource (&res_door, "s/door"); + rest_activate_resource (&res_leds, "s/leds"); rest_activate_resource (&res_battery, "s/battery"); }