minor formatting stuff
This commit is contained in:
parent
1935a15800
commit
e98e04a940
@ -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());
|
||||||
}
|
}
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user