minor formatting stuff

This commit is contained in:
Robin Müller 2021-04-02 15:26:57 +02:00 committed by IRS Cleanroom Laptop
parent 1935a15800
commit e98e04a940
2 changed files with 4 additions and 4 deletions

View File

@ -25,7 +25,7 @@ gpioIF(gpioIF) {
if(gpioIF == nullptr) { if(gpioIF == nullptr) {
sif::error << "SpiTestClass::SpiTestClass: Invalid GPIO ComIF!" << std::endl; 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.rx_buf = reinterpret_cast<__u64>(recvBuffer.data());
spiTransferStruct.tx_buf = reinterpret_cast<__u64>(sendBuffer.data()); spiTransferStruct.tx_buf = reinterpret_cast<__u64>(sendBuffer.data());
} }

View File

@ -49,9 +49,9 @@ private:
#elif defined(XIPHOS_Q7S) #elif defined(XIPHOS_Q7S)
uint8_t mgm0Lis3mdlChipSelect = 5; uint8_t mgm0Lis3mdlChipSelect = 5;
uint8_t mgm1Rm3100ChipSelect = 17; uint8_t mgm1Rm3100ChipSelect = 17;
uint8_t gyro0AdisResetLin = 20; uint8_t gyro0AdisResetLine = 20;
uint8_t gyro0AdisChipSelect = 21; uint8_t gyro0AdisChipSelect = 21;
uint8_t gyro1L3gd20ChipSelect = 7; uint8_t gyro1L3gd20ChipSelect = 10;
uint8_t gyro2L3gd20ChipSelect = 3; uint8_t gyro2L3gd20ChipSelect = 3;
uint8_t mgm2Lis3mdlChipSelect = 0; uint8_t mgm2Lis3mdlChipSelect = 0;
uint8_t mgm3Rm3100ChipSelect = 23; uint8_t mgm3Rm3100ChipSelect = 23;