From d374045c8f7782ca7c8cc09f646e87122a0d98a2 Mon Sep 17 00:00:00 2001 From: Roy_01 Date: Fri, 21 Mar 2025 14:34:04 +0800 Subject: [PATCH] fix: fix error head file --- cpg.c | 7 +------ cpg.h | 10 ++++++++++ 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/cpg.c b/cpg.c index 95b3853..f1c57bd 100644 --- a/cpg.c +++ b/cpg.c @@ -1,6 +1,6 @@ +#include "cpg.h" #include "cpg11_dev_mode.h" #include "elite_board.h" -#include "pel.h" #include "elite_def.h" @@ -12,11 +12,6 @@ #if (DEF_ELITE_MODEL == DEF_ELITE_CPG_V1_1) -#define VERSION_DATE_YEAR 24 -#define VERSION_DATE_MONTH 11 -#define VERSION_DATE_DAY 1 -#define VERSION_DATE_HOUR 16 -#define VERSION_DATE_MINUTE 48 static void cis_version(uint8_t *ins, uint16_t size) { NRF_LOG_INFO("%s", __FUNCTION__); diff --git a/cpg.h b/cpg.h index 9530c5a..915fe29 100644 --- a/cpg.h +++ b/cpg.h @@ -6,6 +6,16 @@ extern "C" { #endif +#include "app_config.h" +#include "elite.h" +#include "elite_board.h" + +#define VERSION_DATE_YEAR 25 +#define VERSION_DATE_MONTH 3 +#define VERSION_DATE_DAY 21 +#define VERSION_DATE_HOUR 14 +#define VERSION_DATE_MINUTE 34 + const elite_instance_t *cpg_init(void); #ifdef __cplusplus