Skip to content

Commit 64061f2

Browse files
AlkaMotorstridge
authored andcommitted
change stop bit time
1 parent 0aeb7a1 commit 64061f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bootloader/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -555,7 +555,7 @@ static bool serialreadChar()
555555
// now we need to wait for the start bit leading edge, which is low
556556
bl_timer_reset();
557557
while (gpio_read(input_pin)) {
558-
if (bl_timer_us() > 20*BITTIME && messagereceived) {
558+
if (bl_timer_us() > 5*BITTIME && messagereceived) {
559559
// we've been waiting too long, don't allow for long gaps
560560
// between bytes
561561
#ifdef SERIAL_STATS

0 commit comments

Comments
 (0)