![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
Modularizando o src
Dependencies: EALib EthernetInterface_vz mbed-rtos mbed
Fork of header_main_colinas_V0-20-09-14 by
wdt_manager.h@81:3656f00ab3db, 2014-12-30 (annotated)
- Committer:
- klauss
- Date:
- Tue Dec 30 12:37:40 2014 +0000
- Revision:
- 81:3656f00ab3db
- Parent:
- 80:61d61c9eb75c
- Child:
- 82:f55d13babca0
tentando resolver o bug de apertar duas vezes o botao pra fazer uma call
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
klauss | 74:81c47fff88a5 | 1 | #ifndef __WDT_MANAGER_H__ |
klauss | 74:81c47fff88a5 | 2 | #define __WDT_MANAGER_H__ |
klauss | 74:81c47fff88a5 | 3 | |
klauss | 78:1353744f01e1 | 4 | #include "mbed.h" |
klauss | 74:81c47fff88a5 | 5 | #include "wdt.h" |
klauss | 81:3656f00ab3db | 6 | #include "debug.h" |
klauss | 74:81c47fff88a5 | 7 | |
klauss | 74:81c47fff88a5 | 8 | extern Watchdog wdt; |
klauss | 81:3656f00ab3db | 9 | extern Timer wdt_timer; |
klauss | 81:3656f00ab3db | 10 | |
klauss | 81:3656f00ab3db | 11 | #define init_wdt() { \ |
klauss | 81:3656f00ab3db | 12 | wdt.Configure( 30.0 ); \ |
klauss | 81:3656f00ab3db | 13 | wdt_timer.start(); \ |
klauss | 81:3656f00ab3db | 14 | } |
klauss | 74:81c47fff88a5 | 15 | |
klauss | 74:81c47fff88a5 | 16 | #endif |