fix logger (lost first two chars) and setting meterbus uart (8bit data plus parity, so 9bit incl. parity)
This commit is contained in:
@ -51,7 +51,7 @@ void MX_UART5_Init(void)
|
||||
|
||||
huart5.Instance = UART5;
|
||||
huart5.Init.BaudRate = 2400;
|
||||
huart5.Init.WordLength = UART_WORDLENGTH_8B;
|
||||
huart5.Init.WordLength = UART_WORDLENGTH_9B;
|
||||
huart5.Init.StopBits = UART_STOPBITS_1;
|
||||
huart5.Init.Parity = UART_PARITY_EVEN;
|
||||
huart5.Init.Mode = UART_MODE_TX_RX;
|
||||
|
Reference in New Issue
Block a user