diff options
author | David Crocker <dcrocker@eschertech.com> | 2021-10-31 00:05:13 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2021-10-31 00:05:13 +0300 |
commit | 22276b993bc8db027d55d8d47de4559ad10ca044 (patch) | |
tree | a69319e723ce32ce0e638057c325473fe3b16691 /src/Accelerometers/LIS3DH.cpp | |
parent | 4d27cc210b6af47b3e99353c67568a157fb484ed (diff) |
Added explicit constructor calls
Diffstat (limited to 'src/Accelerometers/LIS3DH.cpp')
-rw-r--r-- | src/Accelerometers/LIS3DH.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Accelerometers/LIS3DH.cpp b/src/Accelerometers/LIS3DH.cpp index c254c71b..4fd80be6 100644 --- a/src/Accelerometers/LIS3DH.cpp +++ b/src/Accelerometers/LIS3DH.cpp @@ -179,7 +179,7 @@ bool LIS3DH:: StartCollecting(uint8_t axes) noexcept totalNumRead = 0; const bool ok = WriteRegister(LisRegister::Ctrl_0x20, ctrlReg_0x20 | (axes & 7)); - return ok && attachInterrupt(int1Pin, Int1Interrupt, InterruptMode::rising, this); + return ok && attachInterrupt(int1Pin, Int1Interrupt, InterruptMode::rising, CallbackParameter(this)); } // Collect some data from the FIFO, suspending until the data is available |