Skip to content

Commit feb3833

Browse files
Naveen KajeNaveen Kaje
Naveen Kaje
authored and
Naveen Kaje
committed
Timer.h: Remove protected attributes from rendering on docs site
1 parent 6d7b655 commit feb3833

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/Timer.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ class Timer : private NonCopyable<Timer> {
9595
*/
9696
us_timestamp_t read_high_resolution_us();
9797

98+
#if !defined(DOXYGEN_ONLY)
9899
protected:
99100
us_timestamp_t slicetime();
100101
int _running; // whether the timer is running
@@ -103,6 +104,7 @@ class Timer : private NonCopyable<Timer> {
103104
const ticker_data_t *_ticker_data;
104105
bool _lock_deepsleep; // flag which indicates if deep-sleep should be disabled
105106
};
107+
#endif
106108

107109
} // namespace mbed
108110

0 commit comments

Comments
 (0)