chore(as5600): doxygen for readSensor

This commit is contained in:
Tyeth Gundry 2025-08-26 18:43:45 +01:00
parent 7a275e5d02
commit 4258c12206

View file

@ -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!");