developer.mbed.org branch of Lancaster University's microbit library. The real home for this is https://github.com/lancaster-university/microbit

Dependencies:   microbit-dal

Dependents:   microbit-samples microbit_snake microbit_snake microbit-letter-game ... more

Revision:
5:8052323b72d2
Parent:
1:af427e419320
diff -r af427e419320 -r 8052323b72d2 source/MicroBit.cpp
--- a/source/MicroBit.cpp	Thu Apr 07 01:30:13 2016 +0100
+++ b/source/MicroBit.cpp	Fri Apr 08 16:36:37 2016 +0100
@@ -208,6 +208,7 @@
             break;
 
         case MICROBIT_ID_ACCELEROMETER:
+        case MICROBIT_ID_GESTURE:
             // A listener has been registered for the accelerometer.
             // The accelerometer uses lazy instantiation, we just need to read the data once to start it running.
             accelerometer.updateSample();
@@ -219,4 +220,4 @@
             thermometer.updateSample();
             break;
     }
-}
+}
\ No newline at end of file