8000 Update MuxTO.ino · agdl/ArduinoCore-megaavr@c2d6cf7 · GitHub
[go: up one dir, main page]

Skip to content

Commit c2d6cf7

Browse files
authored
Update MuxTO.ino
1 parent 134ff96 commit c2d6cf7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

firmwares/MuxTO/MuxTO.ino

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
#include "JTAG2.h"
2424
#include "UPDI_hi_lvl.h"
2525

26-
volatile bool updi_mode = false;
26+
volatile bool updi_mode = true;
2727
unsigned long baudrate = 115200;
2828
unsigned long updi_mode_start = 0;
2929
unsigned long updi_mode_end = 0;
@@ -166,11 +166,11 @@ void loop() {
166166
if (updi_mode == true) {
167167

168168
// updi_mode cannot last more than 1 minute; in that case, break forcibly
169-
if ((updi_mode_end != 0 && (millis() - updi_mode_end) > 500) || ((millis() - updi_mode_start) > 60000)) {
169+
/*if ((updi_mode_end != 0 && (millis() - updi_mode_end) > 500) || ((millis() - updi_mode_start) > 60000)) {
170170
updi_mode = false;
171171
baudrate = -1;
172172
return;
173-
}
173+
}*/
174174

175175
//blink_delay = 100;
176176

0 commit comments

Comments
 (0)
0