diff options
author | Stephane D'Alu <sdalu@sdalu.com> | 2016-07-10 13:35:31 +0200 |
---|---|---|
committer | Stephane D'Alu <sdalu@sdalu.com> | 2016-07-10 13:35:31 +0200 |
commit | 9cf4f9dfc7f6bcd1c46c96d9e388bf677e7148f1 (patch) | |
tree | 3c3960a7899dc7105679ad84b1786935017392e7 /testhal | |
parent | 7e8e69551fc85ee5683a0c1e9a6675e5d7f3496c (diff) | |
download | ChibiOS-Contrib-9cf4f9dfc7f6bcd1c46c96d9e388bf677e7148f1.tar.gz ChibiOS-Contrib-9cf4f9dfc7f6bcd1c46c96d9e388bf677e7148f1.tar.bz2 ChibiOS-Contrib-9cf4f9dfc7f6bcd1c46c96d9e388bf677e7148f1.zip |
moved wdg to LLD
Diffstat (limited to 'testhal')
-rw-r--r-- | testhal/NRF51/NRF51822/WDG/main.c | 8 |
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);
|