ads1115 only

Fork of mbed by mbed official

Revision:
98:8ab26030e058
Parent:
89:552587b429a1
Child:
100:cbbeb26dbd92
--- a/TimerEvent.h	Tue Apr 14 10:58:58 2015 +0200
+++ b/TimerEvent.h	Wed Apr 29 10:16:23 2015 +0100
@@ -16,7 +16,7 @@
 #ifndef MBED_TIMEREVENT_H
 #define MBED_TIMEREVENT_H
 
-#include "us_ticker_api.h"
+#include "ticker_api.h"
 
 namespace mbed {
 
@@ -25,6 +25,7 @@
 class TimerEvent {
 public:
     TimerEvent();
+    TimerEvent(const ticker_data_t *data);
 
     /** The handler registered with the underlying timer interrupt
      */
@@ -45,6 +46,8 @@
     void remove();
 
     ticker_event_t event;
+
+    const ticker_data_t *const _ticker_data;
 };
 
 } // namespace mbed