diff options
author | henryk <henryk@6dc7ffe9-61d6-0310-9af1-9938baff3ed1> | 2007-11-26 06:20:17 +0000 |
---|---|---|
committer | henryk <henryk@6dc7ffe9-61d6-0310-9af1-9938baff3ed1> | 2007-11-26 06:20:17 +0000 |
commit | 16d42d5f6b8df076a04a18ffd13d0defc999c7bf (patch) | |
tree | 5ea288cc5c509bdc549690877a68bb03679cb447 /openpicc/os/boot/Cstartup_SAM7.c | |
parent | 29ea5bbf5b9c3b3679aa40e4ee7029284cb424c6 (diff) |
Prepare transmission code
Restructure/add some buffer code
Reset the watchdog timer (now at 1.5s), add a watchdog pinger thread
git-svn-id: https://svn.openpcd.org:2342/trunk@352 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
Diffstat (limited to 'openpicc/os/boot/Cstartup_SAM7.c')
-rw-r--r-- | openpicc/os/boot/Cstartup_SAM7.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openpicc/os/boot/Cstartup_SAM7.c b/openpicc/os/boot/Cstartup_SAM7.c index 88af706..5371794 100644 --- a/openpicc/os/boot/Cstartup_SAM7.c +++ b/openpicc/os/boot/Cstartup_SAM7.c @@ -36,7 +36,7 @@ void AT91F_LowLevelInit (void) AT91C_BASE_MC->MC_FMR = ((AT91C_MC_FMCN) & (75 << 16)) | AT91C_MC_FWS_1FWS; //* Watchdog Enable - AT91C_BASE_WDTC->WDTC_WDMR = (0x480 << 16) | AT91C_WDTC_WDRSTEN | 0x480; + AT91C_BASE_WDTC->WDTC_WDMR = (0x180 << 16) | AT91C_WDTC_WDRSTEN | 0x180; //AT91C_BASE_WDTC->WDTC_WDMR = 0x8000; //* Set MCK at 47 923 200 |