Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/main/drivers/io_port_expander.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ void ioPortExpanderSync(void)
{
if (ioPortExpanderState.active && ioPortExpanderState.shouldSync) {
pcf8574Write(ioPortExpanderState.state);
ioPortExpanderState.shouldSync = false;;
ioPortExpanderState.shouldSync = false;
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/main/flight/pid_autotune.c
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ void autotuneFixedWingUpdate(const flight_dynamics_index_t axis, float desiredRa
tuneCurrent[axis].updateCount++;
tuneCurrent[axis].absDesiredRateAccum += (absDesiredRate - tuneCurrent[axis].absDesiredRateAccum) / MIN(tuneCurrent[axis].updateCount, (uint32_t)AUTOTUNE_FIXED_WING_SAMPLES);
tuneCurrent[axis].absReachedRateAccum += (absReachedRate - tuneCurrent[axis].absReachedRateAccum) / MIN(tuneCurrent[axis].updateCount, (uint32_t)AUTOTUNE_FIXED_WING_SAMPLES);
tuneCurrent[axis].absPidOutputAccum += (absPidOutput - tuneCurrent[axis].absPidOutputAccum) / MIN(tuneCurrent[axis].updateCount, (uint32_t)AUTOTUNE_FIXED_WING_SAMPLES);;
tuneCurrent[axis].absPidOutputAccum += (absPidOutput - tuneCurrent[axis].absPidOutputAccum) / MIN(tuneCurrent[axis].updateCount, (uint32_t)AUTOTUNE_FIXED_WING_SAMPLES);

if ((tuneCurrent[axis].updateCount & 25) == 0 && tuneCurrent[axis].updateCount >= AUTOTUNE_FIXED_WING_MIN_SAMPLES) {
if (pidAutotuneConfig()->fw_rate_adjustment != FIXED && !FLIGHT_MODE(ANGLE_MODE)) { // Rate discovery is not possible in ANGLE mode
Expand Down
2 changes: 1 addition & 1 deletion src/main/io/osd_dji_hd.c
Original file line number Diff line number Diff line change
Expand Up @@ -1051,7 +1051,7 @@ static bool djiFormatMessages(char *buff)
// Pick one of the available messages. Each message lasts
// a second.
if (messageCount > 0) {
strcpy(buff, messages[OSD_ALTERNATING_CHOICES(DJI_ALTERNATING_DURATION_SHORT, messageCount)]);;
strcpy(buff, messages[OSD_ALTERNATING_CHOICES(DJI_ALTERNATING_DURATION_SHORT, messageCount)]);
haveMessage = true;
}
} else if (ARMING_FLAG(ARMING_DISABLED_ALL_FLAGS)) {
Expand Down