aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/fs/atapi_pio.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/fs/atapi_pio.c')
-rw-r--r--src/kernel/fs/atapi_pio.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/kernel/fs/atapi_pio.c b/src/kernel/fs/atapi_pio.c
index 34cd1e6..c2cdd8c 100644
--- a/src/kernel/fs/atapi_pio.c
+++ b/src/kernel/fs/atapi_pio.c
@@ -27,6 +27,7 @@ void ATAPI_granular_read(uint32_t nblocks, uint32_t lba, uint8_t *output)
{
for (uint32_t i = 0; i < nblocks; i++) {
ATAPI_read(1, lba + i);
- for (uint16_t j = 0; j < ATAPI_SECTOR_SIZE; j++) output[j + (2048 * i)] = ((uint8_t *) ATAPI_PIO_BUFFER)[j];
+ for (uint16_t j = 0; j < ATAPI_SECTOR_SIZE; j++)
+ output[j + (2048 * i)] = ((uint8_t *) ATAPI_PIO_BUFFER)[j];
}
} \ No newline at end of file