Mark serial port as fully initialized and always check that before printing anything to the serial console

这个提交包含在:
2022-08-10 17:56:41 +02:00
父节点 a9171bd512
当前提交 e6aaa1a83c
共有 3 个文件被更改,包括 25 次插入11 次删除

查看文件

@@ -21,8 +21,9 @@
#define COMPORT_DIV_DLM 0x01 /* Divisor Latch Most */
/* Serial port control flags */
#define COMPORT_FLAG_DBR 0x01 /* Default Baud Rate */
#define COMPORT_FLAG_MC 0x02 /* Modem Control */
#define COMPORT_FLAG_INIT 0x01 /* Port Initialized */
#define COMPORT_FLAG_DBR 0x02 /* Default Baud Rate */
#define COMPORT_FLAG_MC 0x04 /* Modem Control */
/* Serial port Fifo Control Register (FCR) access masks */
#define COMPORT_FCR_DISABLE 0x00 /* Disable */