Skip to content

Commit 4558ccc

Browse files
committed
fix warning
1 parent c767d57 commit 4558ccc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/MassStorage/msc_sd/msc_sd.ino

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ int32_t msc_read_cb (uint32_t lba, void* buffer, uint32_t bufsize)
9090
// return number of written bytes (must be multiple of block size)
9191
int32_t msc_write_cb (uint32_t lba, uint8_t* buffer, uint32_t bufsize)
9292
{
93+
(void) bufsize;
9394
return card.writeBlock(lba, buffer) ? 512 : -1;
9495
}
9596

0 commit comments

Comments
 (0)