From 4ada94d4db995ebf150dd3ecfc8efd3241a6ff84 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Thu, 28 Nov 2019 21:26:22 +0100 Subject: Made font external module --- src/kernel/fs/atapi_pio.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/kernel/fs/atapi_pio.c') 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 -- cgit v1.2.3