Skip to content

Commit f125e54

Browse files
committed
Remove unused implementation
1 parent c6e987d commit f125e54

File tree

1 file changed

+0
-25
lines changed

1 file changed

+0
-25
lines changed

src/USBStorage.cpp

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -69,31 +69,6 @@ bool USBStorage::isConnected(){
6969
return this -> connected;
7070
}
7171

72-
73-
/*
74-
75-
76-
void USBStorage::checkConnection(){
77-
#if defined(ARDUINO_PORTENTA_H7_M7)
78-
USBHost * host;
79-
USBDeviceConnected * dev;
80-
unsigned long currentMillis = millis();
81-
boolean found = false;
82-
83-
if (currentMillis - previousMillis >= interval) {
84-
this -> previousMillis = currentMillis;
85-
host = USBHost::getHostInst();
86-
if(host->getDevice(0) != NULL){
87-
this->available = true;
88-
} else {
89-
this->available = false;
90-
}
91-
}
92-
#endif
93-
}
94-
*/
95-
96-
9772
void USBStorage::checkConnection(){
9873
#if defined(ARDUINO_PORTENTA_H7_M7)
9974
USBHost * host;

0 commit comments

Comments
 (0)