Skip to content

Commit

Permalink
Add missing implementation for MagneticSensorI2C::AS5600
Browse files Browse the repository at this point in the history
  • Loading branch information
ystradmann authored Mar 19, 2024
1 parent 6eed7b0 commit 92cb9af
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 92cb9af

Please sign in to comment.