commit | 573eec1014c903e99a0ba37fb4c5680fedf4a431 | [log] [tgz] |
---|---|---|
author | Nicolas VINCENT <nicolas.vincent@vossloh.com> | Wed Mar 10 13:23:00 2021 +0100 |
committer | Kumar Gala <kumar.gala@gmail.com> | Thu Apr 01 07:30:05 2021 -0500 |
tree | 714e9bcd96f83caae0838c4ff983a6263f69b5e5 | |
parent | d4d038b17656e18a3c9887753e6c4d5a397c0fb9 [diff] |
drivers: serial: stm32 databits depends on parity On stm32, the M bits defines the length of the frame between the start bit and the stop bit, eventually including the parity bit when enabled. Fix configuration of databits to set correct M bits when parity is enabled. This commit tries to address issue zephyrproject-rtos/zephyr#33351 Signed-off-by: Nicolas VINCENT <nicolas.vincent@vossloh.com>