From 031dc9754868fe99da97a34e3a577ff6021cb6a3 Mon Sep 17 00:00:00 2001 From: Matthew Date: Mon, 12 May 2025 16:32:27 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=96=B0=E7=9A=84=E9=87=8D?= =?UTF-8?q?=E5=90=AF=E6=96=B9=E5=BC=8F?= 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, 6 insertions(+) diff --git a/app/src/main/cpp/GPIOControl.h b/app/src/main/cpp/GPIOControl.h index 2a62dd55..0f2aef93 100644 --- a/app/src/main/cpp/GPIOControl.h +++ b/app/src/main/cpp/GPIOControl.h @@ -44,6 +44,7 @@ #define CMD_SET_PWM_BEE_STATE 126 // Removed #define CMD_SET_ALM_MODE 128 // Removed #define CMD_SET_SYSTEM_RESET 202 +#define CMD_SET_SYSTEM_RESET2 203 #define CMD_SET_485_EN_STATE 131 #define CMD_SET_12V_EN_STATE 133 #if 1 @@ -311,6 +312,11 @@ public: setInt(CMD_SET_SYSTEM_RESET, 1); } + static void reboot2() + { + setInt(CMD_SET_SYSTEM_RESET2, 1); + } + static void setLightAdc(int i) { #ifndef USING_N938