Hi,
First up I'd just like to say that I'm pretty new to ChibiOS (and RTOS' in general), but so far I think it's great!
I have noticed that the function to convert between RTCDateTime and tm structs (rtcConvertDateTimeToStructTm) does not convert the weekday field.
I have attached a patch file to fix this.
For future reference, what is the best way to make contributions?
woodstock
RTC module loses day of week when converting
RTC module loses day of week when converting
- Attachments
-
- patch.diff.zip
- (402 Bytes) Downloaded 339 times
- Giovanni
- Site Admin
- Posts: 14893
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 997 times
Re: RTC module loses day of week when converting
Hi,
Thanks for the patch, best way is to add a ticket to the tracker on SF, this way the change is not lost in the noise for sure.
Giovanni
Thanks for the patch, best way is to add a ticket to the tracker on SF, this way the change is not lost in the noise for sure.
Giovanni