From 6457856e75b950f2f923eed2ea40d6c4aab21f31 Mon Sep 17 00:00:00 2001 From: cfif Date: Fri, 20 Dec 2024 14:34:53 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=B5=D1=80=D0=B5=D0=BF=D0=B8=D1=81?= =?UTF-8?q?=D0=B0=D0=BD=20=D0=BC=D0=BE=D0=B4=D1=83=D0=BB=D1=8C=20RTC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- DevRtc.c | 4 ++-- DevRtc.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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;