From 2bda5756b312bfd5e6e7633f1b94bad36f81559b Mon Sep 17 00:00:00 2001 From: 钟印成 <zhyinch@gmail.com> Date: 星期三, 26 三月 2025 23:05:26 +0800 Subject: [PATCH] 修改状态机不跑BUG --- 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