git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1158 35acf78f-673a-0410-8e92-d51de3d6d3f4

This commit is contained in:
gdisirio 2009-09-13 06:43:50 +00:00
parent 031a165ea9
commit 2f417c0f08
1 changed files with 2 additions and 2 deletions

View File

@ -258,7 +258,7 @@ void sd_lld_start(SerialDriver *sdp, const SerialDriverConfig *config) {
*/
void sd_lld_stop(SerialDriver *sdp) {
#if USE_LPC214x_UART1
#if USE_SAM7X_USART0
if (&SD1 == sdp) {
usart_deinit(AT91C_BASE_US0);
AT91C_BASE_PMC->PMC_PCDR = (1 << AT91C_ID_US0);
@ -266,7 +266,7 @@ void sd_lld_stop(SerialDriver *sdp) {
return;
}
#endif
#if USE_LPC214x_UART2
#if USE_SAM7X_USART1
if (&SD2 == sdp) {
usart_deinit(AT91C_BASE_US1);
AT91C_BASE_PMC->PMC_PCDR = (1 << AT91C_ID_US1);