Feb 02, 2018
10:35 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 02, 2018
10:35 AM
Hi, I have to report, that variable "days_of_week" is not updated caused by missing
time_val.daysofweek=current_time->daysofweek; in rtc.c at line 288+1
existing Code in Function RTC_GetTime()
/* copy to local structure to keep data safe */
time_val.year = current_time->year;
time_val.month = current_time->month;
time_val.days = current_time->days;
time_val.hours = current_time->hours;
time_val.minutes = current_time->minutes;
time_val.seconds = current_time->seconds;
//pls. add following line to function RTC_SetTime()
time_val.daysofweek=current_time->daysofweek;
In RTC_GetTime(), days_of_week is already provided, but is always 0;
System: DAVE V4.3.2,
APP: RTC_0 4.1.12
µC: XMC4500
Function: RTC_SetTime()
time_val.daysofweek=current_time->daysofweek; in rtc.c at line 288+1
existing Code in Function RTC_GetTime()
/* copy to local structure to keep data safe */
time_val.year = current_time->year;
time_val.month = current_time->month;
time_val.days = current_time->days;
time_val.hours = current_time->hours;
time_val.minutes = current_time->minutes;
time_val.seconds = current_time->seconds;
//pls. add following line to function RTC_SetTime()
time_val.daysofweek=current_time->daysofweek;
In RTC_GetTime(), days_of_week is already provided, but is always 0;
System: DAVE V4.3.2,
APP: RTC_0 4.1.12
µC: XMC4500
Function: RTC_SetTime()
- Tags:
- days_of_week
- IFX
1 Reply
Feb 19, 2018
07:07 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 19, 2018
07:07 AM
Hi,
The issue is fixed in the upcoming release.
Regards,
Jesus
The issue is fixed in the upcoming release.
Regards,
Jesus