RTC. Added chDbgCheck() in rtcGetTimeFat().

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4702 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
barthess 2012-09-20 17:22:23 +00:00
parent 54cde6b854
commit 406ee2993e
1 changed files with 3 additions and 1 deletions

View File

@ -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);
}