From 2efc85282538ed711fd70d38ce8729e48e531e5c Mon Sep 17 00:00:00 2001 From: zhaohe Date: Wed, 5 Jun 2024 22:13:20 +0800 Subject: [PATCH] update --- usrc/main.cpp | 4 ++-- usrc/project_configs.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/usrc/main.cpp b/usrc/main.cpp index 5cdcc37..a6027c3 100644 --- a/usrc/main.cpp +++ b/usrc/main.cpp @@ -91,8 +91,8 @@ void umain() { board_init(); Pin_t debugLight = PC_DEBUG_LIGHT_GPIO; - if (deviceId == 20 || deviceId == 80) { - debugLight = PC_SUBBOARD_20_80_LIGHT_GPIO; + if (deviceId == 20 || deviceId == 70) { + debugLight = PC_SUBBOARD_20_70_LIGHT_GPIO; } zos_cfg_t zoscfg = {0}; diff --git a/usrc/project_configs.h b/usrc/project_configs.h index 2df3c00..8588660 100644 --- a/usrc/project_configs.h +++ b/usrc/project_configs.h @@ -7,7 +7,7 @@ #define PC_DEBUG_UART huart1 #define PC_DEBUG_UART_RX_BUF_SIZE 1024 #define PC_DEBUG_LIGHT_GPIO PE2 -#define PC_SUBBOARD_20_80_LIGHT_GPIO PE8 +#define PC_SUBBOARD_20_70_LIGHT_GPIO PE8 // #define PC_SYS_DELAY_US_TIMER htim6 // US延时定时器