Skip to content

Commit 0e3bd1b

Browse files
committed
remove weak function declaration of tud_msc_is_writable_cb
1 parent 15e71a6 commit 0e3bd1b

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

cores/esp32/esp32-hal-tinyusb.c

-3
Original file line numberDiff line numberDiff line change
@@ -466,9 +466,6 @@ __attribute__((weak)) int32_t tud_msc_write10_cb(uint8_t lun, uint32_t lba, uint
466466
__attribute__((weak)) int32_t tud_msc_scsi_cb(uint8_t lun, uint8_t const scsi_cmd[16], void *buffer, uint16_t bufsize) {
467467
return -1;
468468
}
469-
__attribute__((weak)) bool tud_msc_is_writable_cb(uint8_t lun) {
470-
return false;
471-
}
472469
#endif
473470
#if CFG_TUD_NCM
474471
__attribute__((weak)) bool tud_network_recv_cb(const uint8_t *src, uint16_t size) {

0 commit comments

Comments
 (0)