Skip to content

Commit

Permalink
Merge pull request #389 from ystradmann/fix_missing-impl-AS5600
Browse files Browse the repository at this point in the history
Add missing implementation for MagneticSensorI2C::AS5600
  • Loading branch information
askuric authored Apr 19, 2024
2 parents 6eed7b0 + 92cb9af commit 88f3346
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/sensors/MagneticSensorI2C.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,10 @@ MagneticSensorI2C::MagneticSensorI2C(MagneticSensorI2CConfig_s config){
wire = &Wire;
}

MagneticSensorI2C MagneticSensorI2C::AS5600() {
return {AS5600_I2C};
}

void MagneticSensorI2C::init(TwoWire* _wire){

wire = _wire;
Expand Down

0 comments on commit 88f3346

Please sign in to comment.