projects
/
SCSI2SD-V6.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0870400
)
Slight write speed improvement
v6.4.4
author
Michael McMaster
<michael@codesrc.com>
Sat, 8 May 2021 09:44:53 +0000
(19:44 +1000)
committer
Michael McMaster
<michael@codesrc.com>
Sat, 8 May 2021 09:44:53 +0000
(19:44 +1000)
src/firmware/disk.c
patch
|
blob
|
history
diff --git
a/src/firmware/disk.c
b/src/firmware/disk.c
index 666836503be6e9372b66471feb85a4bce5d83162..a0bcf491600c3ed3965c6e18a8695325010c8a9d 100755
(executable)
--- a/
src/firmware/disk.c
+++ b/
src/firmware/disk.c
@@
-782,7
+782,8
@@
void scsiDiskPoll()
}
\r
\r
if (((prep - j) < maxSectors) &&
\r
- (prep < sectors))
\r
+ (prep < sectors) &&
\r
+ scsiFifoReady())
\r
{
\r
scsiReadPIO(
\r
&scsiDev.data[(prep % maxSectors) * SD_SECTOR_SIZE],
\r