beckus / qemu_stm32

QEMU with an STM32 microcontroller implementation
http://beckus.github.io/qemu_stm32/
Other
527 stars 144 forks source link

Uart index never set #6

Closed metc closed 9 years ago

metc commented 9 years ago

The uart_index of the Stm32Uart struct is never set.

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.

beckus commented 9 years ago

I agree. This was left over after refactoring. I made a commit to fix this.