diff --git a/DevRtc.c b/DevRtc.c index e05db70..2657172 100644 --- a/DevRtc.c +++ b/DevRtc.c @@ -8,6 +8,6 @@ tRtc DEV_RTC; void Rtc_Init(){ tRtc *env = &DEV_RTC; - vRtcInit(&env->rtcHw); - env->rtcIo = vRtcGetIo(&env->rtcHw); + vRtc_Init(&env->rtcHw); + env->rtcIo = RtcGet_Io(&env->rtcHw); } \ No newline at end of file diff --git a/DevRtc.h b/DevRtc.h index c500995..8b94635 100644 --- a/DevRtc.h +++ b/DevRtc.h @@ -5,10 +5,10 @@ #ifndef UVEOS_ON_NATION_DEVRTC_H #define UVEOS_ON_NATION_DEVRTC_H -#include "RTC_n32g45x.h" +#include "Rtc_Nation.h" typedef struct { - tRtc_n32g45x rtcHw; + TRtcNational rtcHw; tRtcIO rtcIo; } tRtc;