Skip to content

Commit 59faca7

Browse files
author
Richard Unger
committed
fix unused variable
1 parent f0b4fc6 commit 59faca7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/encoders/as5048a/PreciseMagneticSensorAS5048A.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ void PreciseMagneticSensorAS5048A::init(SPIClass* _spi) {
1818
this->AS5048A::init(_spi);
1919
// velocity calculation init
2020
current_ts = _micros();
21-
uint16_t angle_data = readRawAngle();
21+
/*uint16_t angle_data =*/ readRawAngle();
2222
current_angle = PreciseAngle(readRawAngle(), 0);
2323
getAngle();
2424
}

0 commit comments

Comments
 (0)