Files
MuditaOS/module-bsp/bsp/watchdog/watchdog_weak.cpp
Adam Dobrowolski 769333d003 EGD-3056 Added reset option via watchdog
To use run:
```
    bsp::watchdog::init();
    bsp::watchdog::system_reset();
```
2020-04-03 10:41:57 +02:00

11 lines
263 B
C++

#pragma once
#include "watchdog.hpp"
namespace bsp::watchdog
{
__attribute__((weak)) void init() {}
__attribute__((weak)) void system_reset() {}
__attribute__((weak)) void pet() {}
__attribute__((weak)) std::string reset_cause() { return {}; }
}