diff --git a/edc20.c b/edc20.c index fd3d37a..6c684c0 100644 --- a/edc20.c +++ b/edc20.c @@ -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__); } diff --git a/led_drv.h b/led_drv.h index 15e37de..8888597 100644 --- a/led_drv.h +++ b/led_drv.h @@ -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);