From f9ae6a37b1bcb528514912d4316f91dd6f5c7321 Mon Sep 17 00:00:00 2001 From: paul-szczepanek-arm <33840200+paul-szczepanek-arm@users.noreply.github.com> Date: Tue, 23 Oct 2018 14:49:37 +0100 Subject: [PATCH] hide protected --- drivers/I2CSlave.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/I2CSlave.h b/drivers/I2CSlave.h index 59f7d3760f..1c85b573da 100644 --- a/drivers/I2CSlave.h +++ b/drivers/I2CSlave.h @@ -150,8 +150,13 @@ public: */ void stop(void); +#if !defined(DOXYGEN_ONLY) + protected: + /* Internal i2c object identifying the resources */ i2c_t _i2c; + +#endif //!defined(DOXYGEN_ONLY) }; } // namespace mbed