usart_enhanced: minor, fix spacing
This commit is contained in:
parent
863fd744d7
commit
ce0848343d
|
@ -56,13 +56,13 @@ bool usart_enhanced_config(uint32_t usart, uint8_t databits, enum usart_enhanced
|
|||
{
|
||||
/* sanity check */
|
||||
uint8_t id = usart_enhanced_id(usart);
|
||||
if (id>=USART_PERIPHERALS_NB) {
|
||||
if (id >= USART_PERIPHERALS_NB) {
|
||||
return false;
|
||||
}
|
||||
if (databits<5 || databits>8) {
|
||||
if (databits < 5 || databits > 8) {
|
||||
return false;
|
||||
}
|
||||
if (parity>USART_ENHANCED_PARITY_SPACE) {
|
||||
if (parity > USART_ENHANCED_PARITY_SPACE) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue