Skip to content

Commit ae9a74b

Browse files
removed c33 code dependent on availability
1 parent 28a6454 commit ae9a74b

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/USBStorage.cpp

-5
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,6 @@ constexpr auto MAX_MOUNT_ATTEMPTS = 10;
99

1010

1111
USBStorage::USBStorage(){
12-
#if defined(ARDUINO_PORTENTA_C33)
13-
register_hotplug_callback(DEV_USB, [](){
14-
USBStorage::usbAvailable = !USBStorage::usbAvailable;
15-
});
16-
#endif
1712
}
1813

1914
bool USBStorage::begin(FileSystems fs){

0 commit comments

Comments
 (0)