diff --git a/ff14b.zip b/ff14b.zip new file mode 100644 index 0000000..21477b6 Binary files /dev/null and b/ff14b.zip differ diff --git a/spi_test.ino b/spi_test.ino index 23d60e7..095d9d2 100644 --- a/spi_test.ino +++ b/spi_test.ino @@ -27,7 +27,7 @@ void SerialRe(){ int i; uint8_t buffer[16]={0}; if(Serial.available()){ - i = Serial.parseInt(); + i = Serial.parseInt(); Serial.printf("read %0d\n",i); W25QXX_Read(buffer,i,16); for(uint8_t temp:buffer){ diff --git a/src/FATS/diskio.c b/src/FATS/diskio.cpp similarity index 99% rename from src/FATS/diskio.c rename to src/FATS/diskio.cpp index b0104e4..7d2cc00 100644 --- a/src/FATS/diskio.c +++ b/src/FATS/diskio.cpp @@ -14,8 +14,6 @@ #define DEV_RAM 0 /* Example: Map Ramdisk to physical drive 0 */ #define DEV_MMC 1 /* Example: Map MMC/SD card to physical drive 1 */ #define DEV_USB 2 /* Example: Map USB MSD to physical drive 2 */ - - /*-----------------------------------------------------------------------*/ /* Get Drive Status */ /*-----------------------------------------------------------------------*/ @@ -40,8 +38,6 @@ DSTATUS disk_initialize ( } - - /*-----------------------------------------------------------------------*/ /* Read Sector(s) */ /*-----------------------------------------------------------------------*/