From ef8efd48b0d046f490e30aff46b2eb7414ae692b Mon Sep 17 00:00:00 2001 From: Matthew Date: Mon, 24 Feb 2025 20:05:37 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BA=95=E5=B1=82=E6=8A=8A=E4=BA=91=E5=8F=B0?= =?UTF-8?q?=E7=94=B5=E5=8E=8B=E7=9A=84=E4=B8=A4=E4=B8=AAGPIO=E8=AE=BE?= =?UTF-8?q?=E5=8F=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/cpp/GPIOControl.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/src/main/cpp/GPIOControl.h b/app/src/main/cpp/GPIOControl.h index a0724d3b..72735849 100644 --- a/app/src/main/cpp/GPIOControl.h +++ b/app/src/main/cpp/GPIOControl.h @@ -61,8 +61,10 @@ #define CMD_SET_SYSTEM_RESET 202 #define CMD_GET_LIGHT_ADC 101 #define CMD_SET_LIGHT_ADC 102 -#define CMD_GET_CHARGING_BUS_VOLTAGE_STATE 112 -#define CMD_GET_BAT_BUS_VOLTAGE_STATE 117 +// #define CMD_GET_CHARGING_BUS_VOLTAGE_STATE 112 +// #define CMD_GET_BAT_BUS_VOLTAGE_STATE 117 +#define CMD_GET_CHARGING_BUS_VOLTAGE_STATE 117 +#define CMD_GET_BAT_BUS_VOLTAGE_STATE 112 #define CMD_SET_SPI_MODE 0 // TO BE ADDED #define CMD_SET_SPI_BITS_PER_WORD 0 // TO BE ADDED #define CMD_SET_SPI_MAXSPEEDHZ 0 // TO BE ADDED