aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/NRF51/NRF51822/WDG/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'testhal/NRF51/NRF51822/WDG/main.c')
-rw-r--r--testhal/NRF51/NRF51822/WDG/main.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/testhal/NRF51/NRF51822/WDG/main.c b/testhal/NRF51/NRF51822/WDG/main.c
index cdbf89b..92942b9 100644
--- a/testhal/NRF51/NRF51822/WDG/main.c
+++ b/testhal/NRF51/NRF51822/WDG/main.c
@@ -40,10 +40,10 @@ int main(void) {
palSetPad(IOPORT1, LED1);
WDGConfig WDG_config = {
- .flags.pause_on_sleep = 0,
- .flags.pause_on_halt = 0,
- .timeout_ms = 5000,
- .callback = timeout_callback
+ .pause_on_sleep = 0,
+ .pause_on_halt = 0,
+ .timeout_ms = 5000,
+ .callback = timeout_callback
};
wdgStart(&WDGD1, &WDG_config);