@@ -93,23 +93,6 @@ class Ticker : public TimerEvent, private NonCopyable<Ticker> {
93
93
attach_us (std::forward<F>(func), t * 1000000 .0f );
94
94
}
95
95
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
- }
113
96
114
97
/* * Attach a function to be called by the Ticker, specifying the interval in microseconds
115
98
*
@@ -123,23 +106,6 @@ class Ticker : public TimerEvent, private NonCopyable<Ticker> {
123
106
*/
124
107
void attach_us (Callback<void ()> func, us_timestamp_t t);
125
108
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
- }
143
109
144
110
virtual ~Ticker ()
145
111
{
0 commit comments