diff --git a/app/src/basic/version.h b/app/src/basic/version.h index 47a95e9..afeda6d 100644 --- a/app/src/basic/version.h +++ b/app/src/basic/version.h @@ -2,7 +2,7 @@ #define CATEGORY "M1002" // 三导联 #define MANUFACTURER_NAME "iflytop" -#define FIRMWARE_VERSION (10) +#define FIRMWARE_VERSION (11) #define BLESTACK_VERSION 1 #define BOOTLOADER_VERSION 1 #define HARDWARE_VERSION (1) diff --git a/app/src/board/board_light_ctrl.c b/app/src/board/board_light_ctrl.c index 3f3e256..771cadc 100644 --- a/app/src/board/board_light_ctrl.c +++ b/app/src/board/board_light_ctrl.c @@ -64,7 +64,7 @@ void BoardLight_setGreenLightState(bool state) { m_boardlight_greenlightstate = state; #if LIGHT_PWM_DRIVER if (state) { - light_ctrl.seq_values.channel_0 = 99; // 设置占空比,数值最大不超过 top_value + light_ctrl.seq_values.channel_0 = 97; // 设置占空比,数值最大不超过 top_value nrfx_pwm_simple_playback(&light_ctrl.driver, &light_ctrl.seq, 1, NRF_DRV_PWM_FLAG_LOOP); } else { nrfx_pwm_stop(&light_ctrl.driver, true);