Skip to content

Commit a920668

Browse files
committed
improve ticker doc
1 parent 3568c54 commit a920668

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/Ticker.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,7 @@ class Ticker : public TimerEvent, private NonCopyable<Ticker> {
155155
*/
156156
void detach();
157157

158+
#if !defined(DOXYGEN_ONLY)
158159
protected:
159160
void setup(us_timestamp_t t);
160161
virtual void handler();
@@ -163,6 +164,7 @@ class Ticker : public TimerEvent, private NonCopyable<Ticker> {
163164
us_timestamp_t _delay; /**< Time delay (in microseconds) for re-setting the multi-shot callback. */
164165
Callback<void()> _function; /**< Callback. */
165166
bool _lock_deepsleep; /**< Flag which indicates if deep-sleep should be disabled. */
167+
#endif
166168
};
167169

168170
} // namespace mbed

0 commit comments

Comments
 (0)