From b85907abb200e19f362959e8c6c6fe0d91d22180 Mon Sep 17 00:00:00 2001 From: zhangbo <zhangbo@qq.com> Date: 星期五, 09 五月 2025 09:37:38 +0800 Subject: [PATCH] 修改了1分钟休眠机制现在收到消息就会继续测距不唤醒 --- 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