DAPLink
DAPLink copied to clipboard
uart.c constant comparison issues
In multiple uart.c files:
line 164 in source/hic_hal/freescale/kl27z/uart.c
:
line 149 in source/hic_hal/freescale/kl26z/uart.c
:
line 140 in source/hic_hal/freescale/kl26z/uart.c
:
line 134 in source/hic_hal/freescale/k20dx/uart.c
:
The comparison if (data_bits == 2) {
is made, but data_bits
is always <= 1; the comparison will always resolve to false.