From 7c8634b0048226e7206d28b837415c000966bcc0 Mon Sep 17 00:00:00 2001 From: Braidan Date: Tue, 19 Dec 2023 12:50:33 -0500 Subject: [PATCH] Update SparkFun_TMAG5273_Arduino_Library.cpp Removed check for `AngleEn` register set to 0 (sparkfun/SparkFun_TMAG5273_Arduino_Library#6) --- src/SparkFun_TMAG5273_Arduino_Library.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/SparkFun_TMAG5273_Arduino_Library.cpp b/src/SparkFun_TMAG5273_Arduino_Library.cpp index 528f158..9bfaf7c 100644 --- a/src/SparkFun_TMAG5273_Arduino_Library.cpp +++ b/src/SparkFun_TMAG5273_Arduino_Library.cpp @@ -81,12 +81,6 @@ int8_t TMAG5273::begin(uint8_t sensorAddress, TwoWire &wirePort) return 0; } - // Check that X and Y angle calculation is disabled - if (getAngleEn() != TMAG5273_NO_ANGLE_CALCULATION) - { - return 0; - } - // returns true if all the checks pass return 1; }