Hey guys,
I noticed RadioLib status codes are logged as unsigned numbers, e.g.:
https://github.com/G4lile0/tinyGS/blob/2128f1410cfd229b9b5478a122446e393b41a0a2/tinyGS/src/Radio/Radio.cpp#L185
RadioLib status codes are signed 16-bit integers, so for example, printing ERR_INVALID_OUTPUT_POWER which is defined as -13 will show 4294967283, making it a bit uncomfortable to debug config issues.
Hey guys,
I noticed RadioLib status codes are logged as unsigned numbers, e.g.:
https://github.com/G4lile0/tinyGS/blob/2128f1410cfd229b9b5478a122446e393b41a0a2/tinyGS/src/Radio/Radio.cpp#L185
RadioLib status codes are signed 16-bit integers, so for example, printing
ERR_INVALID_OUTPUT_POWERwhich is defined as -13 will show 4294967283, making it a bit uncomfortable to debug config issues.