Refactor: move console printing of sequence to ESP logger
parent
53ade61b13
commit
30cacc2bb6
|
|
@ -119,6 +119,7 @@ static void update_seq(uint8_t *sequence) {
|
|||
seq_str[i] = 'o';
|
||||
}
|
||||
}
|
||||
ESP_LOGI(TAG, "Sequence Updated to %s", seq_str);
|
||||
lv_label_set_text(sequence_label, seq_str);
|
||||
}
|
||||
|
||||
|
|
@ -500,10 +501,7 @@ void app_main(void) {
|
|||
} else {
|
||||
pulse_cv(false);
|
||||
}
|
||||
printf("%i", sequence[step]);
|
||||
vTaskDelay(bpm_to_ms(current_bpm)/ portTICK_PERIOD_MS);
|
||||
}
|
||||
printf("\n");
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Reference in New Issue