LED State=0(정렬모드 끝)일 때 FIFO OFF

This commit is contained in:
2026-06-12 16:34:28 +09:00
parent c37a02f4f9
commit 1b923c0d37
+6
View File
@@ -1368,6 +1368,12 @@ static int cmd_mls(const uint8_t *data, uint8_t data_len)
}
led_set_state((led_state_t)state);
if (state == LED_STATE_OFF)
{
int imu_ret = imu_fifo_stop();
DBG_PRINTF("[CMD] mls: fifo stop ret=%d\r\n", imu_ret);
}
send_response_u16("rls:", state);
DBG_PRINTF("[CMD] mls -> LED state=%d\r\n", state);
return 1;