mirror of
https://github.com/candle-usb/candleLight_fw.git
synced 2025-01-28 06:02:52 +08:00
led.c : removed unused last_mode
This commit is contained in:
parent
361ab73ddb
commit
edc684609b
@ -62,7 +62,6 @@ typedef struct {
|
||||
|
||||
typedef struct {
|
||||
led_mode_t mode;
|
||||
led_mode_t last_mode;
|
||||
|
||||
const led_seq_step_t *sequence;
|
||||
uint32_t sequence_step;
|
||||
|
@ -77,7 +77,6 @@ static uint32_t led_set_sequence_step(led_data_t *leds, uint32_t step_num)
|
||||
|
||||
void led_run_sequence(led_data_t *leds, const led_seq_step_t *sequence, int32_t num_repeat)
|
||||
{
|
||||
leds->last_mode = leds->mode;
|
||||
leds->mode = led_mode_sequence;
|
||||
leds->sequence = sequence;
|
||||
leds->seq_num_repeat = num_repeat;
|
||||
|
Loading…
x
Reference in New Issue
Block a user