From d35c88e38f72f44fad19fb210980c76f4872721c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Proch=C3=A1zka?= Date: Sun, 21 Sep 2025 12:26:04 +0200 Subject: [PATCH] Temporarily removed the serial echo (was causing terrible performance) --- example.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/example.c b/example.c index 793be5c..c896d44 100644 --- a/example.c +++ b/example.c @@ -203,7 +203,6 @@ void serial_init(void) { SCON = 0x50; TI = 1; - ES = 1; } // Writes a character to the serial port. @@ -320,11 +319,3 @@ void timer0_handler(void) __interrupt(1) { if(TIMER != 0) TIMER--; } -void serial_hanlder(void) __interrupt(4) { - if(RI) { - uint8_t data = SBUF; - serial_putchar(data); - RI = 0; - } -} -