Skip to content

Commit 4258c12

Browse files
committed
chore(as5600): doxygen for readSensor
1 parent 7a275e5 commit 4258c12

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/components/i2c/drivers/WipperSnapper_I2C_Driver_AS5600.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,12 @@ class WipperSnapper_I2C_Driver_AS5600 : public WipperSnapper_I2C_Driver {
9696
_as5600->setMaxAngle(4095);
9797
}
9898

99+
/*******************************************************************************/
100+
/*!
101+
@brief Reads the Angle sensor.
102+
@returns True if the sensor was read successfully, False otherwise.
103+
*/
104+
/*******************************************************************************/
99105
bool readSensor() {
100106
if (!_as5600->isMagnetDetected()) {
101107
WS_DEBUG_PRINTLN("Magnet not detected!");

0 commit comments

Comments
 (0)