From 79e5627e29fcb16ce9e317c0c9c217f068d4492f Mon Sep 17 00:00:00 2001 From: Alessio Morale Date: Fri, 14 Nov 2014 01:05:54 +0100 Subject: [PATCH] uncrustify --- .../src/plugins/setupwizard/outputcalibrationutil.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/ground/openpilotgcs/src/plugins/setupwizard/outputcalibrationutil.cpp b/ground/openpilotgcs/src/plugins/setupwizard/outputcalibrationutil.cpp index 215faefc6..5369bf845 100644 --- a/ground/openpilotgcs/src/plugins/setupwizard/outputcalibrationutil.cpp +++ b/ground/openpilotgcs/src/plugins/setupwizard/outputcalibrationutil.cpp @@ -93,7 +93,8 @@ void OutputCalibrationUtil::stopOutputCalibration() } } -void OutputCalibrationUtil::startChannelOutput(quint16 channel, quint16 safeValue) { +void OutputCalibrationUtil::startChannelOutput(quint16 channel, quint16 safeValue) +{ QList channels; channels.append(channel); startChannelOutput(channels, safeValue); @@ -125,9 +126,9 @@ void OutputCalibrationUtil::setChannelOutputValue(quint16 value) if (c_prepared) { ActuatorCommand *actuatorCommand = getActuatorCommandObject(); ActuatorCommand::DataFields data = actuatorCommand->getData(); - foreach (quint32 channel, m_outputChannels) { + foreach(quint32 channel, m_outputChannels) { // Set output value - if (channel <= ActuatorCommand::CHANNEL_NUMELEM){ + if (channel <= ActuatorCommand::CHANNEL_NUMELEM) { qDebug() << "OutputCalibrationUtil setting output value for channel " << channel << " to " << value << "."; data.Channel[channel] = value; } else {