chore(logging): trim firmware logs and remove runtime diagnostics scaffolding
This commit is contained in:
@@ -3,26 +3,11 @@
|
||||
#include <string.h>
|
||||
|
||||
#include "esp_audio_enc.h"
|
||||
#include "esp_log.h"
|
||||
|
||||
static const char *TAG = "voice_interaction";
|
||||
|
||||
void voice_uplink_task(void *arg) {
|
||||
(void)arg;
|
||||
|
||||
bool low_stack_warned = false;
|
||||
UBaseType_t start_hwm = uxTaskGetStackHighWaterMark(NULL);
|
||||
ESP_LOGI(TAG, "[stage] uplink_task_started: stack_hwm_words=%u", (unsigned)start_hwm);
|
||||
|
||||
while (true) {
|
||||
if (!low_stack_warned) {
|
||||
UBaseType_t hwm = uxTaskGetStackHighWaterMark(NULL);
|
||||
if (hwm < 256) {
|
||||
low_stack_warned = true;
|
||||
ESP_LOGW(TAG, "[stage] uplink_task_low_stack: hwm_words=%u", (unsigned)hwm);
|
||||
}
|
||||
}
|
||||
|
||||
bool active = false;
|
||||
bool connected = false;
|
||||
bool started = false;
|
||||
@@ -88,7 +73,6 @@ void voice_uplink_task(void *arg) {
|
||||
s_voice.speech_active = false;
|
||||
s_voice.dialog_state = VOICE_DIALOG_STATE_IDLE;
|
||||
s_voice.last_event_ms = voice_now_ms();
|
||||
ESP_LOGW(TAG, "[stage] uplink_detected_ws_disconnected");
|
||||
}
|
||||
voice_unlock();
|
||||
}
|
||||
@@ -139,7 +123,6 @@ void voice_heartbeat_task(void *arg) {
|
||||
}
|
||||
|
||||
if (connected && started) {
|
||||
ESP_LOGI(TAG, "[stage] heartbeat_send");
|
||||
(void)voice_send_directive("continue-task", "HeartBeat", true);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user