Various updates for TMC support

This commit is contained in:
Scott Lahteine
2018-01-09 19:14:07 -06:00
parent 2c2cf5e856
commit 6a043eee55
11 changed files with 472 additions and 483 deletions

View File

@ -65,7 +65,7 @@ Ctrl_status sd_mmc_spi_usb_read_10(uint32_t addr, uint16_t nb_sector) {
#ifdef DEBUG_MMC
char buffer[80];
sprintf(buffer, "SDRD: %d @ 0x%08x\n", nb_sector, addr);
MYSERIAL.print(buffer);
MYSERIAL0.print(buffer);
#endif
// Start reading
@ -99,7 +99,7 @@ Ctrl_status sd_mmc_spi_usb_write_10(uint32_t addr, uint16_t nb_sector) {
#ifdef DEBUG_MMC
char buffer[80];
sprintf(buffer, "SDWR: %d @ 0x%08x\n", nb_sector, addr);
MYSERIAL.print(buffer);
MYSERIAL0.print(buffer);
#endif
if (!card.getSd2Card().writeStart(addr, nb_sector))