We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0b4fc6 commit 59faca7Copy full SHA for 59faca7
src/encoders/as5048a/PreciseMagneticSensorAS5048A.cpp
@@ -18,7 +18,7 @@ void PreciseMagneticSensorAS5048A::init(SPIClass* _spi) {
18
this->AS5048A::init(_spi);
19
// velocity calculation init
20
current_ts = _micros();
21
- uint16_t angle_data = readRawAngle();
+ /*uint16_t angle_data =*/ readRawAngle();
22
current_angle = PreciseAngle(readRawAngle(), 0);
23
getAngle();
24
}
0 commit comments