rbb: 응답 시에도 IMU 온도 레지스터를 4회 연속 read 후 평균값 사용
+ 테스트 로그 삭제
This commit is contained in:
@@ -122,11 +122,6 @@ void all_sensors(void)
|
||||
buf[18] = (uint8_t)(info_temp >> 8);
|
||||
buf[19] = (uint8_t)(info_temp & 0xFF);
|
||||
|
||||
DBG_PRINTF("[RBB] IMU temp_x100=%u (%u.%02u C)\r\n",
|
||||
info_temp,
|
||||
info_temp / 100,
|
||||
info_temp % 100);
|
||||
|
||||
dr_binary_tx_safe(buf, 10); /* 20 bytes = 10 words */
|
||||
}
|
||||
|
||||
@@ -174,11 +169,6 @@ void all_sensors_batt_temp(void)
|
||||
buf[6] = (uint8_t)(info_temp >> 8);
|
||||
buf[7] = (uint8_t)(info_temp & 0xFF);
|
||||
|
||||
DBG_PRINTF("[RBB] IMU temp_x100=%u (%u.%02u C)\r\n",
|
||||
info_temp,
|
||||
info_temp / 100,
|
||||
info_temp % 100);
|
||||
|
||||
dr_binary_tx_safe(buf, 4); /* 8 bytes = 4 words, CRC appended by TX layer */
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user