diff options
Diffstat (limited to 'firmware/target/arm/sandisk/ata-c200_e200.c')
-rw-r--r-- | firmware/target/arm/sandisk/ata-c200_e200.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/firmware/target/arm/sandisk/ata-c200_e200.c b/firmware/target/arm/sandisk/ata-c200_e200.c index c9f97c0d48..91ff1d9365 100644 --- a/firmware/target/arm/sandisk/ata-c200_e200.c +++ b/firmware/target/arm/sandisk/ata-c200_e200.c | |||
@@ -25,7 +25,7 @@ | |||
25 | #include "thread.h" | 25 | #include "thread.h" |
26 | #include "led.h" | 26 | #include "led.h" |
27 | #include "disk.h" | 27 | #include "disk.h" |
28 | #include "pp5024.h" | 28 | #include "cpu.h" |
29 | #include "panic.h" | 29 | #include "panic.h" |
30 | #include "usb.h" | 30 | #include "usb.h" |
31 | 31 | ||
@@ -529,7 +529,7 @@ static void sd_card_mux(int card_no) | |||
529 | #ifdef SANSA_E200 | 529 | #ifdef SANSA_E200 |
530 | if (card_no == 0) | 530 | if (card_no == 0) |
531 | { | 531 | { |
532 | GPO32 |= 0x4; | 532 | GPO32_VAL |= 0x4; |
533 | 533 | ||
534 | GPIOA_ENABLE &= ~0x7a; | 534 | GPIOA_ENABLE &= ~0x7a; |
535 | GPIOA_OUTPUT_EN &= ~0x7a; | 535 | GPIOA_OUTPUT_EN &= ~0x7a; |
@@ -541,7 +541,7 @@ static void sd_card_mux(int card_no) | |||
541 | } | 541 | } |
542 | else | 542 | else |
543 | { | 543 | { |
544 | GPO32 &= ~0x4; | 544 | GPO32_VAL &= ~0x4; |
545 | 545 | ||
546 | GPIOD_ENABLE &= ~0x1f; | 546 | GPIOD_ENABLE &= ~0x1f; |
547 | GPIOD_OUTPUT_EN &= ~0x1f; | 547 | GPIOD_OUTPUT_EN &= ~0x1f; |
@@ -554,7 +554,7 @@ static void sd_card_mux(int card_no) | |||
554 | #else /* SANSA_C200 */ | 554 | #else /* SANSA_C200 */ |
555 | if (card_no == 0) | 555 | if (card_no == 0) |
556 | { | 556 | { |
557 | GPO32 |= 0x4; | 557 | GPO32_VAL |= 0x4; |
558 | 558 | ||
559 | GPIOD_ENABLE &= ~0x1f; | 559 | GPIOD_ENABLE &= ~0x1f; |
560 | GPIOD_OUTPUT_EN &= ~0x1f; | 560 | GPIOD_OUTPUT_EN &= ~0x1f; |
@@ -566,7 +566,7 @@ static void sd_card_mux(int card_no) | |||
566 | } | 566 | } |
567 | else | 567 | else |
568 | { | 568 | { |
569 | GPO32 &= ~0x4; | 569 | GPO32_VAL &= ~0x4; |
570 | 570 | ||
571 | GPIOA_ENABLE &= ~0x7a; | 571 | GPIOA_ENABLE &= ~0x7a; |
572 | GPIOA_OUTPUT_EN &= ~0x7a; | 572 | GPIOA_OUTPUT_EN &= ~0x7a; |