RTC. Added chDbgCheck() in rtcGetTimeFat().
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4702 35acf78f-673a-0410-8e92-d51de3d6d3f4master
parent
54cde6b854
commit
406ee2993e
|
@ -175,7 +175,9 @@ void rtcSetCallback(RTCDriver *rtcp, rtccb_t callback) {
|
|||
*
|
||||
* @api
|
||||
*/
|
||||
uint32_t rtcGetTimeFat(RTCDriver *rtcp) {
|
||||
uint32_t rtcGetTimeFat(RTCDriver *rtcp) {
|
||||
|
||||
chDbgCheck((rtcp != NULL), "rtcSetTime");
|
||||
return rtc_lld_get_time_fat(rtcp);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue