mirror of
https://github.com/SlimeVR/SlimeVR-Tracker-ESP.git
synced 2026-04-06 02:01:57 +02:00
Enable the antialiasing before enabling the sensors
This commit is contained in:
@@ -230,6 +230,8 @@ struct ICM45Base {
|
||||
BaseRegs::FifoConfig3::reg,
|
||||
BaseRegs::FifoConfig3::value
|
||||
);
|
||||
writeBankRegister<BaseRegs::IPregSys1Reg166>();
|
||||
writeBankRegister<BaseRegs::IPregSys2Reg123>();
|
||||
m_RegisterInterface.writeReg(
|
||||
BaseRegs::PwrMgmt0::reg,
|
||||
BaseRegs::PwrMgmt0::value
|
||||
@@ -240,9 +242,6 @@ struct ICM45Base {
|
||||
BaseRegs::IOCPadScenarioAuxOvrd::value
|
||||
);
|
||||
|
||||
writeBankRegister<BaseRegs::IPregSys1Reg166>();
|
||||
writeBankRegister<BaseRegs::IPregSys2Reg123>();
|
||||
|
||||
read_buffer.resize(FullFifoEntrySize * MaxReadings);
|
||||
|
||||
delay(1);
|
||||
|
||||
Reference in New Issue
Block a user