fix: 取消 ModeLED(x) 定義

This commit is contained in:
chain40
2024-05-21 22:52:23 +08:00
parent e2eb731ea1
commit 3bb6487384
2 changed files with 1 additions and 3 deletions
+1 -1
View File
@@ -914,7 +914,7 @@ static void vis_rst(uint8_t *ins, uint16_t size)
uint16_t volt = Usercode_Correction_to_DAC(edc.instru.VoutGainLv, 25000);
dac_write_through(DAC0, volt);
ModeLED(NO_EVENT);
led_mode(NO_EVENT);
}
static void vis_sti(uint8_t *ins, uint16_t size) { NRF_LOG_INFO("%s", __FUNCTION__); }
static void vis_int(uint8_t *ins, uint16_t size) { NRF_LOG_INFO("%s", __FUNCTION__); }
-2
View File
@@ -66,8 +66,6 @@
#define WORKING 0x04
#define POST_WORK 0x05
#define ModeLED(x) led_mode(x)
#if (DEF_LED_DRV_ENABLED)
int32_t led_init(void);
int32_t led_set(struct led_color color);