Skip to content

Commit

Permalink
Merge pull request #138 from yodaldevoid/jtag_read_id_fix
Browse files Browse the repository at this point in the history
Fix break condition in read ID
  • Loading branch information
andrewd207 authored Dec 26, 2022
2 parents 4bd112b + dd7fbb0 commit 2efff25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Firmware/jtag.c
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ void jtag(void) {
uint16_t words = 0;
while (jtag_read_bit() == LOW) {
words++;
if (words < 250) {
if (words > 250) {
break; // 250 device timout/limit...
}
}
Expand Down

0 comments on commit 2efff25

Please sign in to comment.