Skip to content

Commit

Permalink
Update spi_low.asm
Browse files Browse the repository at this point in the history
There were read/write issues on A3000(D) and A4000(D) machines before
this change.
  • Loading branch information
salocinx authored and niklasekstrom committed Aug 31, 2022
1 parent f7493de commit 3073687
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spi-lib/spi_low.asm
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@ _spi_write_fast:
move.b d2,(a5)
dbra d0,.loop

.done: bset #REQ_BIT,d2
.done: move.b d2,(a5) ; Delay to allow write to complete
bset #REQ_BIT,d2
move.b d2,(a5)

movem.l (a7)+,d2/a5
Expand Down

0 comments on commit 3073687

Please sign in to comment.