watchdog: fix astyle errors

pull/11023/head
Martin Kojtal 2019-06-27 22:06:24 +02:00 committed by Martin Kojtal
parent 33f3587377
commit 1624b9d17f
2 changed files with 4 additions and 7 deletions

View File

@ -76,8 +76,7 @@ void VirtualWatchdog::add_to_list()
void VirtualWatchdog::remove_from_list()
{
VirtualWatchdog *cur_ptr = _first,
*prev_ptr = NULL;
VirtualWatchdog *cur_ptr = _first, *prev_ptr = NULL;
while (cur_ptr != NULL) {
if (cur_ptr == this) {
if (cur_ptr == _first) {

View File

@ -108,7 +108,6 @@ public:
void kick();
private:
Watchdog();
~Watchdog();
@ -125,7 +124,6 @@ private:
*/
SingletonPtr<Ticker> _ticker;
#endif
};
} // namespace mbed