diff --git a/.github/workflows/daily-release.yml b/.github/workflows/release.yml similarity index 90% rename from .github/workflows/daily-release.yml rename to .github/workflows/release.yml index ec32fdf..55d3639 100644 --- a/.github/workflows/daily-release.yml +++ b/.github/workflows/release.yml @@ -1,9 +1,9 @@ -name: Daily Release Flasher +name: Release Flasher on: - schedule: - # 每天北京时间凌晨 04:00 (UTC 20:00) 自动触发 - - cron: '0 20 * * *' + push: + branches: + - master workflow_dispatch: inputs: tag_name: @@ -43,7 +43,7 @@ jobs: - name: 同步发布至 GitHub Release 并替换附件 (Update Release Assets) env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - TAG_NAME: ${{ inputs.tag_name || 'release' }} + TAG_NAME: ${{ github.event.inputs.tag_name || 'release' }} run: | echo "=== 目标 Release Tag: $TAG_NAME ===" @@ -66,6 +66,6 @@ jobs: echo "Release '$TAG_NAME' 不存在,正在创建全新 Release 并上传文件..." gh release create "$TAG_NAME" RemoteMapper-Flasher.7z RemoteMapper-Flasher.zip \ --title "免环境一键刷机包 V1.0.0" \ - --notes "RemoteMapper-ESP32 每日最新自动构建免环境刷机包。" + --notes "RemoteMapper-ESP32 最新构建免环境刷机包。" echo "=== 全新 Release 创建完成!===" fi diff --git a/RemoteMapper-Flasher.7z b/RemoteMapper-Flasher.7z index 9882daf..08f4394 100644 Binary files a/RemoteMapper-Flasher.7z and b/RemoteMapper-Flasher.7z differ diff --git a/RemoteMapper-Flasher/bin/RemoteMapper_ESP32S3_N16R8_app.bin b/RemoteMapper-Flasher/bin/RemoteMapper_ESP32S3_N16R8_app.bin index bf3190c..55bf172 100644 Binary files a/RemoteMapper-Flasher/bin/RemoteMapper_ESP32S3_N16R8_app.bin and b/RemoteMapper-Flasher/bin/RemoteMapper_ESP32S3_N16R8_app.bin differ diff --git a/RemoteMapper-Flasher/bin/RemoteMapper_ESP32S3_N16R8_full.bin b/RemoteMapper-Flasher/bin/RemoteMapper_ESP32S3_N16R8_full.bin index a2db52b..0559b29 100644 Binary files a/RemoteMapper-Flasher/bin/RemoteMapper_ESP32S3_N16R8_full.bin and b/RemoteMapper-Flasher/bin/RemoteMapper_ESP32S3_N16R8_full.bin differ diff --git a/RemoteMapper-Flasher/bin/RemoteMapper_ESP32S3_N4R2_app.bin b/RemoteMapper-Flasher/bin/RemoteMapper_ESP32S3_N4R2_app.bin index 5c24aec..3fbed94 100644 Binary files a/RemoteMapper-Flasher/bin/RemoteMapper_ESP32S3_N4R2_app.bin and b/RemoteMapper-Flasher/bin/RemoteMapper_ESP32S3_N4R2_app.bin differ diff --git a/RemoteMapper-Flasher/bin/RemoteMapper_ESP32S3_N4R2_full.bin b/RemoteMapper-Flasher/bin/RemoteMapper_ESP32S3_N4R2_full.bin index 6b14e43..4543b34 100644 Binary files a/RemoteMapper-Flasher/bin/RemoteMapper_ESP32S3_N4R2_full.bin and b/RemoteMapper-Flasher/bin/RemoteMapper_ESP32S3_N4R2_full.bin differ diff --git a/RemoteMapper-Flasher/bin/RemoteMapper_ESP32S3_N8R2_app.bin b/RemoteMapper-Flasher/bin/RemoteMapper_ESP32S3_N8R2_app.bin index 7029309..dc3c086 100644 Binary files a/RemoteMapper-Flasher/bin/RemoteMapper_ESP32S3_N8R2_app.bin and b/RemoteMapper-Flasher/bin/RemoteMapper_ESP32S3_N8R2_app.bin differ diff --git a/RemoteMapper-Flasher/bin/RemoteMapper_ESP32S3_N8R2_full.bin b/RemoteMapper-Flasher/bin/RemoteMapper_ESP32S3_N8R2_full.bin index f236442..d3323da 100644 Binary files a/RemoteMapper-Flasher/bin/RemoteMapper_ESP32S3_N8R2_full.bin and b/RemoteMapper-Flasher/bin/RemoteMapper_ESP32S3_N8R2_full.bin differ diff --git a/include/app_config.h b/include/app_config.h index 23e73f2..3f139e4 100644 --- a/include/app_config.h +++ b/include/app_config.h @@ -34,7 +34,6 @@ extern "C" { #define BLE_REMOTE_MAC_PREFIX "c0:5d:39" #define BLE_SCAN_INTERVAL_MS 100 #define BLE_SCAN_WINDOW_MS 80 -#define BLE_SILENCE_WATCHDOG_MS 450 // Voice key release watchdog timeout (ms) #define BLE_KEEP_ALIVE_INTERVAL 2000 // MIC_EXTEND interval during active voice (ms) // ATVV GATT UUIDs (128-bit) diff --git a/src/ble/ble_remote_client.cpp b/src/ble/ble_remote_client.cpp index 346511f..776f580 100644 --- a/src/ble/ble_remote_client.cpp +++ b/src/ble/ble_remote_client.cpp @@ -655,15 +655,6 @@ void ble_remote_task(void) { start_scan(); } } - - // 4. Audio silence watchdog (if voice key released packet dropped over BLE) - if (s_ble_state == BLE_STATE_TALKING) { - if (now - s_last_audio_ms > BLE_SILENCE_WATCHDOG_MS) { - app_log("ATVV", "Silence watchdog expired -> force stopping speech"); - s_ble_state = BLE_STATE_CONNECTED; - key_engine_feed_key(&g_key_engine, MI_KEY_VOICE, false, now); - } - } } ble_remote_state_t ble_remote_get_state(void) {