firmware: v7 — fix LED independiente del streaming

El LED ahora se enciende/apaga siempre con el boton, sin necesitar
que el stream este activo (antes requeria isStreaming==true).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Natxo1000
2026-06-02 13:20:08 +02:00
parent c1b587b0a8
commit 1688cdb185
4 changed files with 3 additions and 5 deletions

View File

@@ -10,7 +10,7 @@
// ================================================================
// OTA CONFIG
// ================================================================
#define FW_VERSION 6
#define FW_VERSION 7
#define GITEA_HOST "https://git.nacho.myds.me"
#define GITEA_OWNER "Natxo"
#define GITEA_REPO "Arduino-Car"

View File

@@ -362,9 +362,7 @@ static esp_err_t cmd_handler(httpd_req_t *req) {
if (!strcmp(variable, "led_intensity")) {
led_duty = val;
if (isStreaming) {
enable_led(true);
}
enable_led(val > 0); // siempre aplica, sin depender del streaming
}
else {
// Lo demás se manda al otro micro por UART

Binary file not shown.

View File

@@ -1 +1 @@
6
7