Skip to content

Commit

Permalink
feat(sdmmc): fixed printf mismatches and missing callback
Browse files Browse the repository at this point in the history
  • Loading branch information
lbernstone committed Jun 6, 2024
1 parent 08e8cdd commit b0c5d15
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libraries/SD_MMC/examples/SD2USBMSC/SD2USBMSC.ino
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,10 @@ void setup(){
Serial.println("Initializing USB");

USB.begin();
USB.onEvent(usbEventCallback);

Serial.printf("Card Size: %lluMB\n", SD_MMC.totalBytes()/1024/1024);
Serial.printf("Sector: %lu\tCount: %lu\n", SD_MMC.sectorSize(), SD_MMC.numSectors());
Serial.printf("Sector: %d\tCount: %d\n", SD_MMC.sectorSize(), SD_MMC.numSectors());
}

void loop(){
Expand Down

0 comments on commit b0c5d15

Please sign in to comment.