Skip to content

Commit e4b9f71

Browse files
committed
Merge remote-tracking branch 'origin/master' into dev
2 parents 3942e88 + 4d33cd7 commit e4b9f71

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/sensors/MagneticSensorI2C.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,10 @@ MagneticSensorI2C::MagneticSensorI2C(MagneticSensorI2CConfig_s config){
5858
wire = &Wire;
5959
}
6060

61+
MagneticSensorI2C MagneticSensorI2C::AS5600() {
62+
return {AS5600_I2C};
63+
}
64+
6165
void MagneticSensorI2C::init(TwoWire* _wire){
6266

6367
wire = _wire;

0 commit comments

Comments
 (0)