LED State=0(정렬모드 끝)일 때 FIFO OFF
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user