Skip to content

Commit

Permalink
Merge pull request #4 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
CyberCastle authored May 21, 2020
2 parents ac5dc81 + dd7fbb0 commit eb5b81c
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 eb5b81c

Please sign in to comment.