Skip to content

Commit 181628b

Browse files
ci(pre-commit): Apply automatic fixes
1 parent 48ca3d4 commit 181628b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: cores/esp32/HWCDC.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,8 @@ static void hw_cdc_isr_handler(void *arg) {
148148

149149
// Moved to header file as inline function. Kept just as future reference.
150150
//inline bool HWCDC::isPlugged(void) {
151-
// SOF ISR is causing esptool to be unable to upload firmware to the board
152-
// Timer test for SOF seems to work when uploading firmware
151+
// SOF ISR is causing esptool to be unable to upload firmware to the board
152+
// Timer test for SOF seems to work when uploading firmware
153153
// return usb_serial_jtag_is_connected();//(lastSOF_ms + SOF_TIMEOUT) >= millis();
154154
//}
155155

@@ -163,7 +163,7 @@ bool HWCDC::isCDC_Connected() {
163163
// SOF in ISR causes problems for uploading firmware
164164
//SOF_TIMEOUT = 5; // SOF timeout when unplugged
165165
return false;
166-
}
166+
}
167167
//else {
168168
// SOF_TIMEOUT = 50; // SOF timeout when plugged
169169
//}

0 commit comments

Comments
 (0)