Skip to content

Commit 5c18374

Browse files
ci(pre-commit): Apply automatic fixes
1 parent fd1368f commit 5c18374

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: cores/esp32/esp32-hal-tinyusb.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ __attribute__((weak)) int32_t tud_msc_write10_cb(uint8_t lun, uint32_t lba, uint
390390
__attribute__((weak)) int32_t tud_msc_scsi_cb(uint8_t lun, uint8_t const scsi_cmd[16], void *buffer, uint16_t bufsize) {
391391
return -1;
392392
}
393-
__attribute__ ((weak)) bool tud_msc_is_writable_cb (uint8_t lun){
393+
__attribute__((weak)) bool tud_msc_is_writable_cb(uint8_t lun) {
394394
return false;
395395
}
396396

Diff for: libraries/USB/examples/USBMSC/USBMSC.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ void setup() {
154154
MSC.onWrite(onWrite);
155155

156156
MSC.mediaPresent(true);
157-
MSC.isWritable(true); // true if writable, false if read-only
157+
MSC.isWritable(true); // true if writable, false if read-only
158158

159159
MSC.begin(DISK_SECTOR_COUNT, DISK_SECTOR_SIZE);
160160
USB.begin();

0 commit comments

Comments
 (0)