Rev 383 | Rev 387 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 383 | Rev 385 | ||
---|---|---|---|
Line 59... | Line 59... | ||
59 | #include "timer1.h" |
59 | #include "timer1.h" |
60 | #include "fat16.h" |
60 | #include "fat16.h" |
61 | #include "sdc.h" |
61 | #include "sdc.h" |
62 | #include "uart1.h" |
62 | #include "uart1.h" |
63 | #include "main.h" |
63 | #include "main.h" |
- | 64 | #include "logging.h" |
|
Line 64... | Line 65... | ||
64 | 65 | ||
65 | 66 | ||
66 | //________________________________________________________________________________________________________________________________________ |
67 | //________________________________________________________________________________________________________________________________________ |
Line 578... | Line 579... | ||
578 | } |
579 | } |
579 | returnvalue = SDC_Deinit(); // uninitialize interface to sd-card |
580 | returnvalue = SDC_Deinit(); // uninitialize interface to sd-card |
580 | Partition.IsValid = 0; // mark data in partition structure as invalid |
581 | Partition.IsValid = 0; // mark data in partition structure as invalid |
581 | Partition.VolumeLabel[0]='\0'; |
582 | Partition.VolumeLabel[0]='\0'; |
582 | UART1_PutString("ok"); |
583 | UART1_PutString("ok"); |
- | 584 | if(SD_WatchDog > 2000) SD_WatchDog = 2000; |
|
583 | SD_WatchDog = 0; |
585 | SD_LoggingError = 100; |
584 | return(returnvalue); |
586 | return(returnvalue); |
585 | } |
587 | } |
Line 586... | Line 588... | ||
586 | 588 | ||
587 | /****************************************************************************************************************************************/ |
589 | /****************************************************************************************************************************************/ |