Add get led mode.

Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
Pol Henarejos
2025-03-19 01:18:57 +01:00
parent ef9b66f990
commit 1a4ca13cc7
2 changed files with 5 additions and 0 deletions

View File

@@ -35,6 +35,10 @@ void led_set_mode(uint32_t mode) {
led_mode = mode;
}
uint32_t led_get_mode() {
return led_mode;
}
void led_blinking_task() {
#ifndef ENABLE_EMULATION
static uint32_t start_ms = 0;