diff options
| author | Harley Travis <harleytravis123@outlook.com> | 2026-06-30 15:41:10 -0500 |
|---|---|---|
| committer | Harley Travis <harleytravis123@outlook.com> | 2026-06-30 15:41:10 -0500 |
| commit | 6bfafd4db0ce6b8577b3c68b3056f2874796176e (patch) | |
| tree | 84a96674c2dd1bbc6a6b3cdfc821049be8b34223 /Kernel | |
| parent | d14a2365a73b809f65532329ee7ad91d95c73147 (diff) | |
| download | templeos-floppy-driver-6bfafd4db0ce6b8577b3c68b3056f2874796176e.tar.gz | |
Fix for loop in FDCReset
The second for loop in this function had its parameters separted by commas instead of semicolons, resulting in a compiler error.
Diffstat (limited to 'Kernel')
| -rw-r--r-- | Kernel/BlkDev/DskFDC.HC | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/BlkDev/DskFDC.HC b/Kernel/BlkDev/DskFDC.HC index caf1132..c4a8e7e 100644 --- a/Kernel/BlkDev/DskFDC.HC +++ b/Kernel/BlkDev/DskFDC.HC @@ -124,7 +124,7 @@ U0 FDCReset(CBlkDev *bd) while (!fdc_int_semaphore) Yield; // Send 4 SISes (or bail if we get 0x80) - for (i=0,i<4,i++) { + for (i=0;i<4;i++) { FDCSendByte(bd,FDC_SENSE_INTR); if (FDCReadByte(bd)==0x80) break; FDCReadByte(bd); |
