Co-authored-by: Josh Henderson <hendjoshsr71@gmail.com> Checks all return values from transfer functions to avoid use of uninitialised data.
This adds SensorMode enum and _p_mode property which is used to set _p_mode_offset Co-Authored-By: Josh Henderson <69225461+hendjoshsr71@users.noreply.github.com> Co-Authored-By: ES-Alexander <25898329+ES-Alexander@users.noreply.github.com>