diff options
author | Antoine Mathys <barsamin@gmail.com> | 2013-02-28 18:23:12 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2013-02-28 18:23:12 +0000 |
commit | 5c78d6a84b504e831adc8f1917cde0c79061dff0 (patch) | |
tree | 8ee0167489766d5753d7febee000470e35092b19 /dma-helpers.c | |
parent | a4bcea3d67949c6be45992bd5092a19f163bcd4e (diff) | |
download | qemu-5c78d6a84b504e831adc8f1917cde0c79061dff0.zip qemu-5c78d6a84b504e831adc8f1917cde0c79061dff0.tar.gz qemu-5c78d6a84b504e831adc8f1917cde0c79061dff0.tar.bz2 |
hw/ds1338: Fix conversion between 12 hours and 24 hours modes.
The proper mapping between 24 hours and 12 hours modes is:
0 12 AM
1-11 1-11 AM
12 12 PM
13-23 1-11 PM
Fix code accordingly.
Signed-off-by: Antoine Mathys <barsamin@gmail.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'dma-helpers.c')
0 files changed, 0 insertions, 0 deletions