fork

Revision:
120:4dc938e301cc
Parent:
119:19af2d39a542
Child:
123:58563e6cba1e
diff -r 19af2d39a542 -r 4dc938e301cc rtos/RtosTimer.h
--- a/rtos/RtosTimer.h	Wed Aug 10 16:09:20 2016 +0100
+++ b/rtos/RtosTimer.h	Thu Aug 18 14:38:56 2016 +0100
@@ -44,7 +44,8 @@
       @param   argument  argument to the timer call back function. (default: NULL)
       @deprecated Replaced with RtosTimer(Callback<void()>, os_timer_type)
      */
-    MBED_DEPRECATED("Replaced with RtosTimer(Callback<void()>, os_timer_type)")
+    MBED_DEPRECATED_SINCE("mbed-os-5.1",
+        "Replaced with RtosTimer(Callback<void()>, os_timer_type)")
     RtosTimer(void (*func)(void const *argument), os_timer_type type=osTimerPeriodic, void *argument=NULL) {
         constructor(mbed::Callback<void()>(argument, (void (*)(void *))func), type);
     }