avsa242 / adxl345-spin

Parallax P8X32A/Propeller, P2X8C4M64P/Propeller 2 driver object for the Analog Devices ADXL34x-series 3DoF Accelerometers
MIT License
0 stars 0 forks source link

Bad values passed to AccelBias() aren't properly handled #11

Closed avsa242 closed 2 years ago

avsa242 commented 3 years ago

The 'other' case in each axis validation should return; instead it just continues, so bad values would be written to the sensor reg anyway.