This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#10786 - enable calendar plugin for non-rtc targets
Attached to Project:
Rockbox
Opened by Teruaki Kawashima (teru) - Sunday, 15 November 2009, 14:10 GMT+2
Last edited by Alexander Levin (fml2) - Monday, 14 December 2009, 22:58 GMT+2
Opened by Teruaki Kawashima (teru) - Sunday, 15 November 2009, 14:10 GMT+2
Last edited by Alexander Levin (fml2) - Monday, 14 December 2009, 22:58 GMT+2
|
Detailswith this patch, calendar for non-rtc targets would work as follows (nothing is changed for rtc targets).
1. first time the calendar plugin is started, it selects first day of month of year where month and year is when calendar plugin is build. 2. when the plugin exits, it saves current month and year to config file. 3. next time it is started, it select first day of saved month of year. |
This task depends upon
Closed by Alexander Levin (fml2)
Monday, 14 December 2009, 22:58 GMT+2
Reason for closing: Accepted
Additional comments about closing: Committed in r23995.
Monday, 14 December 2009, 22:58 GMT+2
Reason for closing: Accepted
Additional comments about closing: Committed in r23995.
* info.last_mon and info.last_year need to be surrounded by #if (CONFIG_RTC == 0).
* add change for SOURCES.