Cleaned up integer type usage in the HAL (#192)

Replaced all uses of built-in types except char with stdint.h typedefs and all unsigned types with signed in the HAL
This commit is contained in:
Tyler Veness
2016-09-06 19:39:28 -07:00
committed by Peter Johnson
parent 0cd05d1a42
commit 2c94d0ba2f
20 changed files with 50 additions and 44 deletions

View File

@@ -172,7 +172,7 @@ void Encoder::SetReverseDirection(bool reverseDirection, int32_t* status) {
}
}
void Encoder::SetSamplesToAverage(int samplesToAverage, int32_t* status) {
void Encoder::SetSamplesToAverage(int32_t samplesToAverage, int32_t* status) {
if (samplesToAverage < 1 || samplesToAverage > 127) {
*status = PARAMETER_OUT_OF_RANGE;
return;