accensione led

Fork of mbed-os-example-ble-LED by mbed-os-examples

Revision:
1:b1f4696c0018
Parent:
0:c6a8f2b3efb6
Child:
2:864ddfb70a9c
diff -r c6a8f2b3efb6 -r b1f4696c0018 source/main.cpp
--- a/source/main.cpp	Tue Jul 26 14:47:19 2016 +0100
+++ b/source/main.cpp	Thu Jul 28 23:13:57 2016 +0100
@@ -103,7 +103,7 @@
 
 int main()
 {
-    eventQueue.post_every(blinkCallback, 500);
+    eventQueue.post_every(500, blinkCallback);
 
     BLE &ble = BLE::Instance();
     ble.onEventsToProcess(scheduleBleEventsProcessing);