ldab / KXTJ3-1057

KXTJ3-1057 Tri-axis Digital Accelerometer - Arduino Library
MIT License
14 stars 8 forks source link

Code Cleanup #16

Closed nomakewan closed 7 months ago

nomakewan commented 11 months ago

This commit cleans up the intDisableAxis functions so that there is only a single primary function and the remaining four overloaded functions simply call the main 5-parameter function with "BLANK" in the empty parameter spots. It also enforces the wu_axis_t datatype for intDisableAxis rather than casting to uint8_t, and fixes a minor typo in README.md.

nomakewan commented 7 months ago

Apologies for the late response, but yes, this PR is the build I've been using in my own project.