Browse Source

update

master
zhaohe 1 year ago
parent
commit
2efc852825
  1. 4
      usrc/main.cpp
  2. 2
      usrc/project_configs.h

4
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};

2
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延时定时器

Loading…
Cancel
Save