diff --git a/src/components/i2c/drivers/WipperSnapper_I2C_Driver_AS5600.h b/src/components/i2c/drivers/WipperSnapper_I2C_Driver_AS5600.h index 813e473d..3e51e819 100644 --- a/src/components/i2c/drivers/WipperSnapper_I2C_Driver_AS5600.h +++ b/src/components/i2c/drivers/WipperSnapper_I2C_Driver_AS5600.h @@ -96,6 +96,12 @@ public: _as5600->setMaxAngle(4095); } + /*******************************************************************************/ + /*! + @brief Reads the Angle sensor. + @returns True if the sensor was read successfully, False otherwise. + */ + /*******************************************************************************/ bool readSensor() { if (!_as5600->isMagnetDetected()) { WS_DEBUG_PRINTLN("Magnet not detected!");