mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-07-01 18:39:16 +00:00
kernel/uart: Refactor code
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
This commit is contained in:
@ -21,8 +21,6 @@
|
||||
|
||||
#include "../kernel.h"
|
||||
|
||||
using namespace UniversalAsynchronousReceiverTransmitter;
|
||||
|
||||
#if BITS_PER_LONG >= 64
|
||||
typedef long gcov_type;
|
||||
#else
|
||||
@ -57,7 +55,7 @@ struct gcov_info
|
||||
|
||||
static inline nsa NIF void gcov_uart_wrapper(char c, void *unused)
|
||||
{
|
||||
UART(COM2).Write(c);
|
||||
UNUSED(c);
|
||||
UNUSED(unused);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user