summary refs log tree commit diff stats
path: root/async.c
diff options
context:
space:
mode:
authorAntoine Mathys <barsamin@gmail.com>2012-12-13 14:05:27 +0000
committerPeter Maydell <peter.maydell@linaro.org>2012-12-13 14:05:27 +0000
commit59dda8e05b015471d456177141a7c2eeda3dab14 (patch)
tree2f93ae5cc101a3fa596356abd9465a2754856423 /async.c
parent95c9361598e66de42facdac64e614e3de85186f5 (diff)
downloadfocaccia-qemu-59dda8e05b015471d456177141a7c2eeda3dab14.tar.gz
focaccia-qemu-59dda8e05b015471d456177141a7c2eeda3dab14.zip
hw/ds1338.c: Fix handling of HOURS register.
Per the datasheet, the mapping between 12 and 24 hours modes is:
      0      <->  12   PM
      1-12   <->  1-12 AM
      13-23  <->  1-11 PM

Signed-off-by: Antoine Mathys <barsamin@gmail.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'async.c')
0 files changed, 0 insertions, 0 deletions