forked from SiemaApplications-attic/zephyr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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. Signed-off-by: Nicolas VINCENT <nicolas.vincent@vossloh.com>
- Loading branch information
1 parent
ed24d7d
commit 830997d
Showing
1 changed file
with
31 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters