From 722e2818335015e22605b211675899adc65f760d Mon Sep 17 00:00:00 2001 From: Raphael Grimm <raphael.grimm@kit.edu> Date: Mon, 5 Mar 2018 09:52:54 +0100 Subject: [PATCH] Cleanup formatting (run astyle) --- .../drivers/WeissHapticSensor/WeissHapticSensor.cpp | 6 +++--- .../drivers/XsensIMU/IMU/Xsens/XsensMTiModule.cpp | 10 +++++----- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/source/RobotAPI/drivers/WeissHapticSensor/WeissHapticSensor.cpp b/source/RobotAPI/drivers/WeissHapticSensor/WeissHapticSensor.cpp index 2d2cafe07..fd31e894b 100644 --- a/source/RobotAPI/drivers/WeissHapticSensor/WeissHapticSensor.cpp +++ b/source/RobotAPI/drivers/WeissHapticSensor/WeissHapticSensor.cpp @@ -15,9 +15,9 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. * - * @package - * @author - * @date + * @package + * @author + * @date * @copyright http://www.gnu.org/licenses/gpl-2.0.txt * GNU General Public License */ diff --git a/source/RobotAPI/drivers/XsensIMU/IMU/Xsens/XsensMTiModule.cpp b/source/RobotAPI/drivers/XsensIMU/IMU/Xsens/XsensMTiModule.cpp index eabdc666e..0df989f59 100644 --- a/source/RobotAPI/drivers/XsensIMU/IMU/Xsens/XsensMTiModule.cpp +++ b/source/RobotAPI/drivers/XsensIMU/IMU/Xsens/XsensMTiModule.cpp @@ -1226,7 +1226,7 @@ namespace IMU } // Keep reading until an Ack or Error message is received (or timeout) - clock_t clkStart , clkOld; + clock_t clkStart, clkOld; bool msgRead = false; clkStart = clockms(); // Get current processor time @@ -1333,7 +1333,7 @@ namespace IMU // Keep reading until an Ack or Error message is received (or timeout) bool msgRead = false; - clock_t clkStart , clkOld; + clock_t clkStart, clkOld; clkStart = clockms(); // Get current processor time clkOld = m_clkEnd; @@ -1400,7 +1400,7 @@ namespace IMU unsigned char buffer[MAXMSGLEN ]; short buflen; - clock_t clkStart , clkOld; + clock_t clkStart, clkOld; if (!(m_fileOpen || m_portOpen)) { @@ -2395,7 +2395,7 @@ namespace IMU // short CXsensMTiModule::getDeviceMode(unsigned short* numDevices) { - unsigned char mid = 0 , data[MAXMSGLEN ]; + unsigned char mid = 0, data[MAXMSGLEN ]; short datalen; if (numDevices != NULL) @@ -3130,7 +3130,7 @@ namespace IMU break; default: - for (int i = 0 , j = length - 1 ; i < length ; i++ , j--) + for (int i = 0, j = length - 1 ; i < length ; i++, j--) { output[j] = input[i]; } -- GitLab