diff --git a/drivers/I2C.h b/drivers/I2C.h index c031d65b59..330f1746ef 100644 --- a/drivers/I2C.h +++ b/drivers/I2C.h @@ -193,6 +193,7 @@ protected: bool _deep_sleep_locked; #endif +#if !defined(DOXYGEN_ONLY) protected: void aquire(); @@ -202,6 +203,7 @@ protected: static SingletonPtr _mutex; PinName _sda; PinName _scl; +#endif private: /** Recover I2C bus, when stuck with SDA low