diff options
Diffstat (limited to 'src/kernel/serial.h')
-rw-r--r-- | src/kernel/serial.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/kernel/serial.h b/src/kernel/serial.h index 88d3712..2588bee 100644 --- a/src/kernel/serial.h +++ b/src/kernel/serial.h @@ -18,6 +18,7 @@ OF THIS SOFTWARE. */ #include <stdint.h> +#include <stdbool.h> #ifndef SERIAL_H #define SERIAL_H @@ -31,5 +32,6 @@ enum serials { void send_byte(uint8_t value, uint8_t port); uint8_t read_byte(uint8_t port); +bool poll_port(uint8_t port); #endif
\ No newline at end of file |