Re: [Qemu-devel] [PATCH v2 3/6] hw/ds1338.c: Fix handling of HOURS register.
On 11 December 2012 22:57, Antoine Mathys wrote: > 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 Reviewed-by: Peter Maydell -- PMM
[Qemu-devel] [PATCH v2 3/6] 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 --- hw/ds1338.c | 29 ++--- 1 file changed, 18 insertions(+), 11 deletions(-) diff --git a/hw/ds13