Skip to content

Commit

Permalink
Missed this, another F4 specific difference
Browse files Browse the repository at this point in the history
  • Loading branch information
androda committed Apr 7, 2022
1 parent c025c06 commit d1c36e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion F4_BlueSCSI/F4_BlueSCSI.ino
Original file line number Diff line number Diff line change
Expand Up @@ -920,7 +920,7 @@ void readDataLoop(uint32_t blockSize)
WAIT_ACK_ACTIVE();
uint32_t ret = PBREG->IDR;
REQ_OFF();
*dstptr++ = ~(ret >> 8);
*dstptr++ = (byte)~(((ret >> 8) & 0b11110111) | ((ret & 0x00000004) << 1));
// Move wait loop in to a single 8 byte prefetch buffer
asm("nop.w;nop");
WAIT_ACK_INACTIVE();
Expand Down

0 comments on commit d1c36e5

Please sign in to comment.