Fix IMU ang MAG, added MAG chart to svelte
This commit is contained in:
@@ -53,6 +53,7 @@ class Magnetometer : public SensorBase<MagnetometerMsg> {
|
||||
|
||||
_mag->startupMagnetometer();
|
||||
if (_mag->status != ICM_20948_Stat_Ok){ return false; }
|
||||
_msg.success = true;
|
||||
#elif FT_ENABLED(USE_HMC5883)
|
||||
_msg.success = _mag.begin();
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user