Closed metc closed 9 years ago
The uart_index of the Stm32Uart struct is never set.
Stm32Uart
The peripheral id or name can be used instead, using the periph field or the stm32_periph_name function. IMHO, the uart_index can be simply removed.
periph
stm32_periph_name
uart_index
I agree. This was left over after refactoring. I made a commit to fix this.
The uart_index of the
Stm32Uart
struct is never set.The peripheral id or name can be used instead, using the
periph
field or thestm32_periph_name
function. IMHO, theuart_index
can be simply removed.