File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 23
23
#include " JTAG2.h"
24
24
#include " UPDI_hi_lvl.h"
25
25
26
- volatile bool updi_mode = false ;
26
+ volatile bool updi_mode = true ;
27
27
unsigned long baudrate = 115200 ;
28
28
unsigned long updi_mode_start = 0 ;
29
29
unsigned long updi_mode_end = 0 ;
@@ -166,11 +166,11 @@ void loop() {
166
166
if (updi_mode == true ) {
167
167
168
168
// 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)) {
170
170
updi_mode = false;
171
171
baudrate = -1;
172
172
return;
173
- }
173
+ }*/
174
174
175
175
// blink_delay = 100;
176
176
You can’t perform that action at this time.
0 commit comments