drivers: fix coding style for doxygen

pull/8711/head
Martin Kojtal 2018-11-12 09:33:52 +00:00
parent 830f7464cc
commit fbdbffffb9
6 changed files with 11 additions and 11 deletions

View File

@ -114,7 +114,7 @@ public:
} }
protected: protected:
#if !defined(DOXYGEN_ONLY) #if !defined(DOXYGEN_ONLY)
virtual void lock() virtual void lock()
{ {
_mutex->lock(); _mutex->lock();
@ -127,7 +127,7 @@ protected:
analogin_t _adc; analogin_t _adc;
static SingletonPtr<PlatformMutex> _mutex; static SingletonPtr<PlatformMutex> _mutex;
#endif //!defined(DOXYGEN_ONLY) #endif //!defined(DOXYGEN_ONLY)
}; };
} // namespace mbed } // namespace mbed

View File

@ -141,7 +141,7 @@ public:
} }
protected: protected:
#if !defined(DOXYGEN_ONLY) #if !defined(DOXYGEN_ONLY)
virtual void lock() virtual void lock()
{ {
_mutex.lock(); _mutex.lock();
@ -154,7 +154,7 @@ protected:
dac_t _dac; dac_t _dac;
PlatformMutex _mutex; PlatformMutex _mutex;
#endif //!defined(DOXYGEN_ONLY) #endif //!defined(DOXYGEN_ONLY)
}; };
} // namespace mbed } // namespace mbed

View File

@ -124,7 +124,7 @@ public:
* wait(0.2); * wait(0.2);
* } * }
* } * }
* *
* @endcode * @endcode
*/ */
CAN(PinName rd, PinName td); CAN(PinName rd, PinName td);

View File

@ -121,9 +121,9 @@ public:
} }
protected: protected:
#if !defined(DOXYGEN_ONLY) #if !defined(DOXYGEN_ONLY)
gpio_t gpio; gpio_t gpio;
#endif //!defined(DOXYGEN_ONLY) #endif //!defined(DOXYGEN_ONLY)
}; };
} // namespace mbed } // namespace mbed

View File

@ -165,9 +165,9 @@ public:
} }
protected: protected:
#if !defined(DOXYGEN_ONLY) #if !defined(DOXYGEN_ONLY)
gpio_t gpio; gpio_t gpio;
#endif //!defined(DOXYGEN_ONLY) #endif //!defined(DOXYGEN_ONLY)
}; };
} // namespace mbed } // namespace mbed

View File

@ -144,9 +144,9 @@ public:
} }
protected: protected:
#if !defined(DOXYGEN_ONLY) #if !defined(DOXYGEN_ONLY)
gpio_t gpio; gpio_t gpio;
#endif //!defined(DOXYGEN_ONLY) #endif //!defined(DOXYGEN_ONLY)
}; };
} // namespace mbed } // namespace mbed