From 92f8726699b1fa6cd51f52d8c2b25776c8070736 Mon Sep 17 00:00:00 2001 From: Nathael Pajani Date: Wed, 27 Apr 2016 01:00:38 +0200 Subject: [PATCH] Add defines for UART numbers --- include/drivers/serial.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/drivers/serial.h b/include/drivers/serial.h index 8a6fcd8..ff27f9a 100644 --- a/include/drivers/serial.h +++ b/include/drivers/serial.h @@ -34,6 +34,11 @@ #include +#define UART0 0 +#define UART1 1 +#define UART2 2 +#define UART3 3 + #define SERIAL_CAP_UART (1 << 0) #define SERIAL_CAP_RS485 (1 << 1) #define SERIAL_CAP_IRDA (1 << 2) -- 2.43.0