IMU FIFO 캡처 중 msp/mim 동시 접근 방지

- IMU FIFO 캡처 중인 경우 조용히 무시
This commit is contained in:
2026-07-15 09:41:03 +09:00
parent 36c8958e03
commit 39e7895057
2 changed files with 18 additions and 1 deletions
+5
View File
@@ -39,6 +39,11 @@ int cmd_msp(const uint8_t *data, uint8_t data_len)
ARG_UNUSED(data);
ARG_UNUSED(data_len);
if (processing)
{
return 1;
}
int16_t accel[3], gyro[3];
int ret = imu_read(accel, gyro);