- Status Closed
- Percent Complete
- Task Type Patches
- Category
- Assigned To No-one
- Operating System
- Severity Low
- Priority Very Low
- Reported Version
- Due in Version Undecided
-
Due Date
Undecided
- Votes
- Private
FS#1087 - check and autopreset for valid RTC-values
This is a replacement for formerly submitted #699086.
New:
With this patch, time/date-values are stored in the
config_block from [0xa9] to [0xad], which is saved on
the disk.
The time values have got 36bit alltogether:
second (0-59): 6 bit
minute (0-59): 6 bit
hour (0-23): 5 bit
dayofweek (0-7): 3 bit
day (0-31): 5 bit
month (0-12): 4 bit
year (0-99): 7 bit
Now the values are packed in 5 bytes of the config_block.
Known from #699086:
After a power-loss, the values are read from the
config_block and written to the RTC, so there is
immediately a defined status of the clock.
If the config_block is invalid, the time is generated
from the APPSVERSION-string, which is build at
compile-time.
So:
If you just change the batteries, the last time on disk
will be set,
if you change the CONFIG_VERSION, the time you compiled
your ajbrec.ajz will be set.
2003-06-04 14:23
Reason for closing: Rejected
Additional comments about closing: Warning: Undefined array key "typography" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 371 Warning: Undefined array key "camelcase" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 407
Logged In: YES
user_id=1157
Basically already solved in CVS.
Loading...
Available keyboard shortcuts
- Alt + ⇧ Shift + l Login Dialog / Logout
- Alt + ⇧ Shift + a Add new task
- Alt + ⇧ Shift + m My searches
- Alt + ⇧ Shift + t focus taskid search
Tasklist
- o open selected task
- j move cursor down
- k move cursor up
Task Details
- n Next task
- p Previous task
- Alt + ⇧ Shift + e ↵ Enter Edit this task
- Alt + ⇧ Shift + w watch task
- Alt + ⇧ Shift + y Close Task
Task Editing
- Alt + ⇧ Shift + s save task
I don’t get it. I was logged in to sourceforge, but this
patch was not submitted with my login but as nobody.
So if you have any comments:
michael.schopferer@fmc.uni-karlsruhe.de (uchk at sourceforge)
Basically already solved in CVS.