msi 커맨드 삭제 및 rbb 버퍼 분리

This commit is contained in:
2026-04-16 19:03:27 +09:00
parent 24e5b2e205
commit 32b6fb800d
4 changed files with 9 additions and 35 deletions

View File

@@ -1377,7 +1377,11 @@ dr_adc_err_t maa_async_start(uint8_t freq_option, uint16_t delay_us, uint16_t nu
{
g_plat.log("[maa] maa_async_start: CH%u capture failed (%d)", ch, err);
}
maa_async_send_completion(0xFFF0 | ch);
/* Clean up state only — do NOT send raa: here.
The caller (Cmd_maa / Cmd_mbb) sends the raa: error packet
to avoid duplicate raa: on the BLE link. */
dr_piezo_power_off();
g_maa_ctx.state = MAA_ASYNC_IDLE;
return err;
}
}