@@ -93,23 +93,6 @@ class Ticker : public TimerEvent, private NonCopyable<Ticker> {
9393 attach_us (std::forward<F>(func), t * 1000000 .0f );
9494 }
9595
96- /* * Attach a member function to be called by the Ticker, specifying the interval in seconds
97- *
98- * @param obj pointer to the object to call the member function on
99- * @param method pointer to the member function to be called
100- * @param t the time between calls in seconds
101- * @deprecated
102- * The attach function does not support cv-qualifiers. Replaced by
103- * attach(callback(obj, method), t).
104- */
105- template <typename T, typename M>
106- MBED_DEPRECATED_SINCE (" mbed-os-5.1" ,
107- " The attach function does not support cv-qualifiers. Replaced by "
108- " attach(callback(obj, method), t)." )
109- void attach (T *obj, M method, float t)
110- {
111- attach (callback (obj, method), t);
112- }
11396
11497 /* * Attach a function to be called by the Ticker, specifying the interval in microseconds
11598 *
@@ -123,23 +106,6 @@ class Ticker : public TimerEvent, private NonCopyable<Ticker> {
123106 */
124107 void attach_us (Callback<void ()> func, us_timestamp_t t);
125108
126- /* * Attach a member function to be called by the Ticker, specifying the interval in microseconds
127- *
128- * @param obj pointer to the object to call the member function on
129- * @param method pointer to the member function to be called
130- * @param t the time between calls in microseconds
131- * @deprecated
132- * The attach_us function does not support cv-qualifiers. Replaced by
133- * attach_us(callback(obj, method), t).
134- */
135- template <typename T, typename M>
136- MBED_DEPRECATED_SINCE (" mbed-os-5.1" ,
137- " The attach_us function does not support cv-qualifiers. Replaced by "
138- " attach_us(callback(obj, method), t)." )
139- void attach_us (T *obj, M method, us_timestamp_t t)
140- {
141- attach_us (Callback<void ()>(obj, method), t);
142- }
143109
144110 virtual ~Ticker ()
145111 {
0 commit comments