Browse Source

DataFlash: remove check for vibe check

For all supported boards we have vibration check.
master
Lucas De Marchi 9 years ago committed by Andrew Tridgell
parent
commit
121eeb4b58
  1. 2
      libraries/DataFlash/LogFile.cpp

2
libraries/DataFlash/LogFile.cpp

@ -1001,7 +1001,6 @@ void DataFlash_Class::Log_Write_IMUDT(const AP_InertialSensor &ins) @@ -1001,7 +1001,6 @@ void DataFlash_Class::Log_Write_IMUDT(const AP_InertialSensor &ins)
void DataFlash_Class::Log_Write_Vibration(const AP_InertialSensor &ins)
{
#if INS_VIBRATION_CHECK
uint64_t time_us = hal.scheduler->micros64();
Vector3f vibration = ins.get_vibration_levels();
struct log_Vibe pkt = {
@ -1015,7 +1014,6 @@ void DataFlash_Class::Log_Write_Vibration(const AP_InertialSensor &ins) @@ -1015,7 +1014,6 @@ void DataFlash_Class::Log_Write_Vibration(const AP_InertialSensor &ins)
clipping_2 : ins.get_accel_clip_count(2)
};
WriteBlock(&pkt, sizeof(pkt));
#endif
}
void DataFlash_Class::Log_Write_SysInfo(const prog_char_t *firmware_string)

Loading…
Cancel
Save