Skip to content

Commit 0235838

Browse files
Naveen KajeNaveen Kaje
authored andcommitted
InterruptIn: Remove protected attributes from rendering on docs site
1 parent 19190d6 commit 0235838

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/InterruptIn.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ class InterruptIn : private NonCopyable<InterruptIn> {
157157
void disable_irq();
158158

159159
static void _irq_handler(uint32_t id, gpio_irq_event event);
160-
160+
#if !defined(DOXYGEN_ONLY)
161161
protected:
162162
gpio_t gpio;
163163
gpio_irq_t gpio_irq;
@@ -166,6 +166,7 @@ class InterruptIn : private NonCopyable<InterruptIn> {
166166
Callback<void()> _fall;
167167

168168
void irq_init(PinName pin);
169+
#endif
169170
};
170171

171172
} // namespace mbed

0 commit comments

Comments
 (0)