Skip to content

Unsigned RadioLib status codes #63

@jgromes

Description

@jgromes

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions