1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-22 07:45:29 +03:00

Fix some BlackBox isues, remove redundant code from PID controllers.

This commit is contained in:
Michael Jakob 2015-04-12 04:46:27 +02:00
parent e7e297ad53
commit fe2f2f3053
4 changed files with 6 additions and 20 deletions

View file

@ -1164,8 +1164,8 @@ void blackboxLogEvent(FlightLogEvent event, flightLogEventData_t *data)
}
case FLIGHT_LOG_EVENT_GTUNE_RESULT:
blackboxWrite(data->gtuneCycleResult.gtuneAxis);
blackboxWrite(data->gtuneCycleResult.gtuneGyroAVG);
blackboxWrite(data->gtuneCycleResult.gtuneNewP);
blackboxWriteSignedVB(data->gtuneCycleResult.gtuneGyroAVG);
blackboxWriteS16(data->gtuneCycleResult.gtuneNewP);
break;
case FLIGHT_LOG_EVENT_LOGGING_RESUME:
blackboxWriteUnsignedVB(data->loggingResume.logIteration);