risc-v/rv32m1: Fix wrong position for ++ operator on serial driver

Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
This commit is contained in:
Gustavo Henrique Nihei
2021-09-21 16:41:44 -03:00
committed by saramonteiro
parent eca1f86294
commit e9c17c9332
+1 -1
View File
@@ -491,7 +491,7 @@ static void up_set_format(struct uart_dev_s *dev)
/* Get the closer one. i.e. the minimum difference */
tdiff = priv->baud - baud;
tsbr ++;
tsbr++;
}
/* Pick up the best osr and sbr with the minimum diff */