Skip to content

Commit

Permalink
Wait longer for return instruction after DMA before giving up. Fixes …
Browse files Browse the repository at this point in the history
…Dr. Franken which counts down 0x40*4=256 cycles instead of 40*4=160.
  • Loading branch information
Staacks committed Feb 4, 2023
1 parent 8fe0207 commit 1b3ea6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion firmware/cpubus.c
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ void handleMemoryBus() { //To be executed on second core
}
getNextFromBus();
wait++;
if (wait > 20) {
if (wait > 100) {
stop("Could not find a ret after DMA.");
break;
}
Expand Down

0 comments on commit 1b3ea6c

Please sign in to comment.