hw/arm/strongarm: Fix 'time to transmit a char' unit comment
The time to transmit a char is expressed in nanoseconds, not in ticks. Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-id: 20201014213601.205222-1-f4bug@amsat.org Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
61db12d9f9
commit
8ddd611a50
|
@ -935,7 +935,7 @@ struct StrongARMUARTState {
|
||||||
uint8_t rx_start;
|
uint8_t rx_start;
|
||||||
uint8_t rx_len;
|
uint8_t rx_len;
|
||||||
|
|
||||||
uint64_t char_transmit_time; /* time to transmit a char in ticks*/
|
uint64_t char_transmit_time; /* time to transmit a char in nanoseconds */
|
||||||
bool wait_break_end;
|
bool wait_break_end;
|
||||||
QEMUTimer *rx_timeout_timer;
|
QEMUTimer *rx_timeout_timer;
|
||||||
QEMUTimer *tx_timer;
|
QEMUTimer *tx_timer;
|
||||||
|
|
Loading…
Reference in a new issue