Debug logging

This commit is contained in:
gorbit99
2025-12-14 18:31:01 +01:00
parent 4061db4953
commit ba1c00f13f

View File

@@ -21,13 +21,12 @@
THE SOFTWARE.
*/
#include "mlx90393.h"
#include <cmath>
#include <cstdint>
#include "GlobalVars.h"
#include "Wire.h"
#include "mlx90393.h"
namespace SlimeVR::Sensors {
@@ -50,6 +49,7 @@ void MLX90393::motionSetup() {
m_hwInterface->swapIn();
if (!I2CSCAN::hasDevOnBus(address)) {
m_Logger.debug("Couldn't find device on bus!");
working = false;
return;
}
@@ -75,6 +75,7 @@ void MLX90393::motionSetup() {
delayMicroseconds(10);
if (status.error || !status.burstMode) {
m_Logger.debug("Burst mode couldn't be started!");
working = false;
return;
}