Resolved! fatfs f_read() and f_gets() return incorrect data
When reading from an SD card using SPI and FAT32 using either f_read() or f_gets() the data returned does not match the actual file contents.I am using an STM32F103C8.fresult = f_open(&fil, "0:test.txt", FA_OPEN_EXISTING | FA_READ | FA_WRITE); unsi...