Skip to content

Commit 88f3346

Browse files
authored
Merge pull request #389 from ystradmann/fix_missing-impl-AS5600
Add missing implementation for MagneticSensorI2C::AS5600
2 parents 6eed7b0 + 92cb9af commit 88f3346

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)