mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-05 23:30:35 +08:00
clean up naming
This commit is contained in:
@@ -88,7 +88,7 @@ struct BDShotTelemetry {
|
||||
* @return <0 on error, the initialized channels mask.
|
||||
*/
|
||||
__EXPORT extern int up_dshot_init(uint32_t channel_mask, unsigned dshot_pwm_freq, bool bdshot_enable,
|
||||
bool enable_extended_dshot_telemetry);
|
||||
bool edt_enable);
|
||||
|
||||
/**
|
||||
* Set Dshot motor data, used by up_dshot_motor_data_set() and up_dshot_motor_command() (internal method)
|
||||
|
||||
@@ -507,7 +507,7 @@ bool DShot::process_serial_telemetry()
|
||||
// Consume an empty EscData to zero the data
|
||||
consume_esc_data(esc, TelemetrySource::Serial);
|
||||
all_telem_sampled = set_next_telemetry_index();
|
||||
_serial_telem_delay_until = hrt_absolute_time() + 100_ms;
|
||||
_serial_telem_delay_until = hrt_absolute_time() + 1_s;
|
||||
perf_count(_telem_error_perf);
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user