From 14b69ed7e9984ae33d15e559fe87a3f9cba57121 Mon Sep 17 00:00:00 2001 From: IRS Cleanroom Laptop Date: Fri, 2 Apr 2021 15:26:57 +0200 Subject: [PATCH] minor formatting stuff --- linux/boardtest/SpiTestClass.cpp | 4 ++-- linux/boardtest/SpiTestClass.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/linux/boardtest/SpiTestClass.cpp b/linux/boardtest/SpiTestClass.cpp index b46cef4b..8ad03b7d 100644 --- a/linux/boardtest/SpiTestClass.cpp +++ b/linux/boardtest/SpiTestClass.cpp @@ -25,7 +25,7 @@ gpioIF(gpioIF) { if(gpioIF == nullptr) { sif::error << "SpiTestClass::SpiTestClass: Invalid GPIO ComIF!" << std::endl; } - testMode = TestModes::MGM_LIS3MDL; + testMode = TestModes::GYRO_L3GD20H; spiTransferStruct.rx_buf = reinterpret_cast<__u64>(recvBuffer.data()); spiTransferStruct.tx_buf = reinterpret_cast<__u64>(sendBuffer.data()); } @@ -266,7 +266,7 @@ void SpiTestClass::performL3gTest(uint8_t l3gId) { for(uint8_t idx = 0; idx < sizeof(readRegs); idx++) { if(readRegs[idx] != commandRegs[0]) { sif::warning << "SpiTestClass::performL3gTest: Read control register" << - static_cast(idx + 1) << "not equal to configured value" << std::endl; + static_cast(idx + 1) << " not equal to configured value" << std::endl; } } } diff --git a/linux/boardtest/SpiTestClass.h b/linux/boardtest/SpiTestClass.h index c24a5156..9c6305f6 100644 --- a/linux/boardtest/SpiTestClass.h +++ b/linux/boardtest/SpiTestClass.h @@ -49,9 +49,9 @@ private: #elif defined(XIPHOS_Q7S) uint8_t mgm0Lis3mdlChipSelect = 5; uint8_t mgm1Rm3100ChipSelect = 17; - uint8_t gyro0AdisResetLin = 20; + uint8_t gyro0AdisResetLine = 20; uint8_t gyro0AdisChipSelect = 21; - uint8_t gyro1L3gd20ChipSelect = 7; + uint8_t gyro1L3gd20ChipSelect = 10; uint8_t gyro2L3gd20ChipSelect = 3; uint8_t mgm2Lis3mdlChipSelect = 0; uint8_t mgm3Rm3100ChipSelect = 23;