mirror of https://github.com/ARMmbed/mbed-os.git
watchdog: fix astyle errors
parent
33f3587377
commit
1624b9d17f
|
@ -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) {
|
||||
|
|
|
@ -108,7 +108,6 @@ public:
|
|||
|
||||
void kick();
|
||||
|
||||
|
||||
private:
|
||||
Watchdog();
|
||||
~Watchdog();
|
||||
|
@ -125,7 +124,6 @@ private:
|
|||
*/
|
||||
SingletonPtr<Ticker> _ticker;
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
} // namespace mbed
|
||||
|
|
Loading…
Reference in New Issue