summaryrefslogtreecommitdiff
path: root/examples/device/audio_test_freertos/src
diff options
context:
space:
mode:
authorhathach <[email protected]>2025-09-12 11:27:31 +0700
committerhathach <[email protected]>2025-09-12 11:27:31 +0700
commitba36df6233cd1bd09f383818f10c1ccda7b9efb4 (patch)
tree75302a42f73e3bd895ec0d8242648108e882320c /examples/device/audio_test_freertos/src
parent913597707493ed7ac075d420795574bc7faa3075 (diff)
fix warnings, update docs
Diffstat (limited to 'examples/device/audio_test_freertos/src')
-rw-r--r--examples/device/audio_test_freertos/src/main.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/examples/device/audio_test_freertos/src/main.c b/examples/device/audio_test_freertos/src/main.c
index b2bed295f..ea06af0e2 100644
--- a/examples/device/audio_test_freertos/src/main.c
+++ b/examples/device/audio_test_freertos/src/main.c
@@ -470,13 +470,11 @@ bool tud_audio_set_itf_close_ep_cb(uint8_t rhport, tusb_control_request_t const
//--------------------------------------------------------------------+
void led_blinking_task(void *param) {
(void) param;
- static uint32_t start_ms = 0;
static bool led_state = false;
while (1) {
// Blink every interval ms
vTaskDelay(blink_interval_ms / portTICK_PERIOD_MS);
- start_ms += blink_interval_ms;
board_led_write(led_state);
led_state = 1 - led_state;// toggle