Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
kounocom committed Sep 29, 2024
1 parent b39f84f commit 1e29c53
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/sensors/softfusion/drivers/icm42688.h
Original file line number Diff line number Diff line change
Expand Up @@ -184,12 +184,12 @@ struct ICM42688 {
if (entry.part.accel[0] != -32768) {
processAccelSample(entry.part.accel, AccTs);
}
void deinitialize() {
i2c.writeReg(Regs::DeviceConfig::reg, Regs::DeviceConfig::valueSwReset);
}

processTemperatureSample(static_cast<int16_t>(entry.part.temp), TempTs);
}
}
void deinitialize() {
i2c.writeReg(Regs::DeviceConfig::reg, Regs::DeviceConfig::valueSwReset);
}
};

Expand Down

0 comments on commit 1e29c53

Please sign in to comment.