chusan, cm, mai2, mu3: Added dipSw support and highBaudrate AiMe

This commit is contained in:
2023-08-15 17:28:19 +02:00
parent 3dc2ec6e69
commit 608c9ac1a6
14 changed files with 209 additions and 50 deletions

View File

@ -70,6 +70,10 @@ HRESULT sg_reader_hook_init(
InitializeCriticalSection(&sg_reader_lock);
if (!cfg->high_baudrate) {
sg_reader_uart.baud.BaudRate = 38400;
}
uart_init(&sg_reader_uart, port_no);
sg_reader_uart.written.bytes = sg_reader_written_bytes;
sg_reader_uart.written.nbytes = sizeof(sg_reader_written_bytes);