summaryrefslogtreecommitdiff
path: root/packages/opie-logoutapplet
diff options
context:
space:
mode:
authorJohn Bowler <jbowler@nslu2-linux.org>2005-05-25 04:48:17 +0000
committerJohn Bowler <jbowler@nslu2-linux.org>2005-05-25 04:48:17 +0000
commit5ae3e554f63cd6005a83b76da691946dd4dbb1c8 (patch)
treeb4f65dc735c0258fbf4bc2e00cbabd41e625d0a1 /packages/opie-logoutapplet
parent1ee2bff5e2df9d863c1b74d2a9a5af8b6688ec1e (diff)
This fixes several bugs in the code to set just the time (and
not the date as well) on the RTC. The low level function x1205_set_datetime always wrote the date, even if it wasn't given, resulting (typically) in the write of 0 bytes for the mday,month and year. It now only write h/m/s if the date is not given. The validate_tm API always checked the date, even if it wasn't given (NOTE: the add of 'epoch' rather than 1900 may be wrong, but it works at present). The sync API fails to handle large resets, this problem still exists, although the API is probably slightly more optimal. BKrev: 4294039111Q_tc0c6nvKwVJbRiQY_w
Diffstat (limited to 'packages/opie-logoutapplet')
0 files changed, 0 insertions, 0 deletions