The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.

Dependents:   hello SerialTestv11 SerialTestv12 Sierpinski ... more

mbed 2

This is the mbed 2 library. If you'd like to learn about Mbed OS please see the mbed-os docs.

Revision:
100:cbbeb26dbd92
Parent:
98:8ab26030e058
Child:
122:f9eeca106725
--- a/Timer.h	Wed May 13 08:08:21 2015 +0200
+++ b/Timer.h	Wed May 27 08:07:35 2015 +0100
@@ -46,7 +46,7 @@
 
 public:
     Timer();
-    Timer(const ticker_data_t *const data);
+    Timer(const ticker_data_t *data);
 
     /** Start the timer
      */
@@ -83,7 +83,7 @@
     int _running;          // whether the timer is running
     unsigned int _start;   // the start time of the latest slice
     int _time;             // any accumulated time from previous slices
-    const ticker_data_t *const _ticker_data;
+    const ticker_data_t *_ticker_data;
 };
 
 } // namespace mbed