Re: [Hamlib-developer] What am I missing?
Library to control radio transceivers and receivers
Brought to you by:
n0nb
From: Nate B. <n0...@n0...> - 2025-07-26 13:34:31
|
Just had a short discussion off list and looking at the history, rig_model_t was originally an int. I was reminded on some implementations that int can be 16 bits and being signed can only hold a positive value up to 32768. Looked at in this way, raising the max model numbers to 1000 limited Hamlib to 32 backends. Mike resolved this by changing rig_model_t (there's a joke in there somewhere) to uint32_t. As I noted, at this time there are plenty of available models and backends. As I am updating comments in the various files to improve documentation, I feel comfortable removing Mike's comments of concern in riglist.h. 73, Nate -- "The optimist proclaims that we live in the best of all possible worlds. The pessimist fears this is true." Web: https://www.n0nb.us Projects: https://github.com/N0NB GPG fingerprint: 82D6 4F6B 0E67 CD41 F689 BBA6 FB2C 5130 D55A 8819 |