https://github.com/WebBluetoothCG/demos/pull/42

Dependencies:   BLE_API mbed-dev-bin nRF51822

Fork of microbit-dal by Lancaster University

Revision:
37:b624ae5e94a5
Parent:
35:8ce23bc1af38
Child:
49:88f03f3feff1
--- a/source/types/MicroBitEvent.cpp	Wed Jul 13 12:18:15 2016 +0100
+++ b/source/types/MicroBitEvent.cpp	Wed Jul 13 12:18:16 2016 +0100
@@ -58,7 +58,7 @@
 {
     this->source = source;
     this->value = value;
-    this->timestamp = system_timer_current_time_us();
+    this->timestamp = system_timer_current_time();
 
     if(mode != CREATE_ONLY)
         this->fire();
@@ -71,7 +71,7 @@
 {
     this->source = 0;
     this->value = 0;
-    this->timestamp = system_timer_current_time_us();
+    this->timestamp = system_timer_current_time();
 }
 
 /**