Skip to content

Commit acabbeb

Browse files
Naveen KajeNaveen Kaje
authored andcommitted
I2C.h: Remove protected attributes from appearing on docs site
1 parent 6d7b655 commit acabbeb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/I2C.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,7 @@ class I2C : private NonCopyable<I2C> {
193193
bool _deep_sleep_locked;
194194
#endif
195195

196+
#if !defined(DOXYGEN_ONLY)
196197
protected:
197198
void aquire();
198199

@@ -202,6 +203,7 @@ class I2C : private NonCopyable<I2C> {
202203
static SingletonPtr<PlatformMutex> _mutex;
203204
PinName _sda;
204205
PinName _scl;
206+
#endif
205207

206208
private:
207209
/** Recover I2C bus, when stuck with SDA low

0 commit comments

Comments
 (0)