From cc919e4e5e2395b61b86f922a07440f47ae2ad0a Mon Sep 17 00:00:00 2001 From: WXK <287788329@qq.com> Date: 星期一, 24 二月 2025 15:25:16 +0800 Subject: [PATCH] 开发差不多完成,等新板子来了测一下充电跟休眠那块的逻辑。目前4g跟gps上传那块跟urtf4的差不多。 --- keil/include/drivers/PCA9555.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/keil/include/drivers/PCA9555.h b/keil/include/drivers/PCA9555.h index 3638272..e0e9b1a 100644 --- a/keil/include/drivers/PCA9555.h +++ b/keil/include/drivers/PCA9555.h @@ -29,7 +29,7 @@ #define PWR_ON 0x07 #define PWR_ENABLE 0x08 //1组 -#define GPS_LED 0x09 +#define LED_POWER 0x09 #define TTS_ENABLE 0x0A #define WAKE_UP 0x0B #define AIR780E_ENBALE 0x0C @@ -49,7 +49,7 @@ #define PWR_ON_POSITION (1<<(MAX_GPIO_NUM-PWR_ON)) #define PWR_ENABLE_POSITION (1<<(MAX_GPIO_NUM-PWR_ENABLE)) //input 1组 -#define GPS_LED_POSITION (1<<(MAX_GPIO_NUM-GPS_LED)) +#define GPS_LED_POSITION (1<<(MAX_GPIO_NUM-LED_POWER)) #define TTS_ENABLE_POSITION (1<<(MAX_GPIO_NUM-TTS_ENABLE)) #define WAKE_UP_POSITION (1<<(MAX_GPIO_NUM-WAKE_UP)) #define AIR780E_ENBALE_POSITION (1<<(MAX_GPIO_NUM-AIR780E_ENBALE)) -- Gitblit v1.9.3