From 78357920ab90b33311e17f8a4ebd0c7552c4e8c0 Mon Sep 17 00:00:00 2001 From: pjht Date: Thu, 5 Sep 2019 12:08:40 -0500 Subject: [PATCH] Remove VGA driver delay on newline --- vga_drv/vga.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/vga_drv/vga.c b/vga_drv/vga.c index 67fbc55..6f7ccd0 100644 --- a/vga_drv/vga.c +++ b/vga_drv/vga.c @@ -57,12 +57,6 @@ void vga_write_string(const char* string) { if (c=='\n') { x=0; y++; - #pragma GCC diagnostic push - #pragma GCC diagnostic ignored "-Wunused-value" - for (int i=0;i<67108864;i++) { - 1+1; - } - #pragma GCC diagnostic pop } else { set_char(x,y,c); x++;