Enable watchdog, and issue a WDT reset when the button is pushed for more than 7s.
This commit is contained in:
parent
f07ffab4c1
commit
0aa1803ea2
6 changed files with 89 additions and 4 deletions
|
|
@ -160,11 +160,10 @@ list(APPEND SOURCE_FILES
|
|||
DisplayApp/Screens/Clock.cpp
|
||||
DisplayApp/Screens/Message.cpp
|
||||
DisplayApp/Screens/Tile.cpp
|
||||
# DisplayApp/Screens/Tab.cpp
|
||||
main.cpp
|
||||
drivers/St7789.cpp
|
||||
drivers/SpiMaster.cpp
|
||||
# Components/Gfx/Gfx.cpp
|
||||
drivers/Watchdog.cpp
|
||||
BLE/BleManager.c
|
||||
Components/Battery/BatteryController.cpp
|
||||
Components/Ble/BleController.cpp
|
||||
|
|
@ -194,6 +193,7 @@ set(INCLUDE_FILES
|
|||
# DisplayApp/Screens/Tab.h
|
||||
drivers/St7789.h
|
||||
drivers/SpiMaster.h
|
||||
drivers/Watchdog.h
|
||||
BLE/BleManager.h
|
||||
Components/Battery/BatteryController.h
|
||||
Components/Ble/BleController.h
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue