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()
|
void VirtualWatchdog::remove_from_list()
|
||||||
{
|
{
|
||||||
VirtualWatchdog *cur_ptr = _first,
|
VirtualWatchdog *cur_ptr = _first, *prev_ptr = NULL;
|
||||||
*prev_ptr = NULL;
|
|
||||||
while (cur_ptr != NULL) {
|
while (cur_ptr != NULL) {
|
||||||
if (cur_ptr == this) {
|
if (cur_ptr == this) {
|
||||||
if (cur_ptr == _first) {
|
if (cur_ptr == _first) {
|
||||||
|
|
|
@ -108,7 +108,6 @@ public:
|
||||||
|
|
||||||
void kick();
|
void kick();
|
||||||
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Watchdog();
|
Watchdog();
|
||||||
~Watchdog();
|
~Watchdog();
|
||||||
|
@ -125,7 +124,6 @@ private:
|
||||||
*/
|
*/
|
||||||
SingletonPtr<Ticker> _ticker;
|
SingletonPtr<Ticker> _ticker;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace mbed
|
} // namespace mbed
|
||||||
|
|
Loading…
Reference in New Issue