...
 
Commits (4)
This diff is collapsed.
...@@ -319,8 +319,8 @@ void sd_loop() { ...@@ -319,8 +319,8 @@ void sd_loop() {
// //
// put card in SPI mode // put card in SPI mode
// //
set(MOSI_port,MOSI_pin); set(MOSI_port, MOSI_pin);
set(CS_port,CS_pin); set(CS_port, CS_pin);
for (count = 0; count < 80; ++count) { for (count = 0; count < 80; ++count) {
set(SCK_port,SCK_pin); set(SCK_port,SCK_pin);
SPI_delay(); SPI_delay();
......