diff options
author | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2020-10-14 23:36:01 +0200 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2020-10-20 16:12:00 +0100 |
commit | 8ddd611a50481826a8e583b7ccdf6e1866e22c15 (patch) | |
tree | 54db4594497f3c2b65bb0451d8c1a3a12087ad5b /hw | |
parent | 61db12d9f9eb36761edba4d9a414cd8dd34c512b (diff) | |
download | qemu-8ddd611a50481826a8e583b7ccdf6e1866e22c15.zip qemu-8ddd611a50481826a8e583b7ccdf6e1866e22c15.tar.gz qemu-8ddd611a50481826a8e583b7ccdf6e1866e22c15.tar.bz2 |
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>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/arm/strongarm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/arm/strongarm.c b/hw/arm/strongarm.c index d7133ee..ca7c385 100644 --- a/hw/arm/strongarm.c +++ b/hw/arm/strongarm.c @@ -935,7 +935,7 @@ struct StrongARMUARTState { uint8_t rx_start; 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; QEMUTimer *rx_timeout_timer; QEMUTimer *tx_timer; |