Re: [Hamlib-developer] Hamlib 4.6.4 release
Library to control radio transceivers and receivers
Brought to you by:
n0nb
From: Nate B. <n0...@n0...> - 2025-07-20 17:18:14
|
* On 2025 19 Jul 14:30 -0500, Diane Bruce via Hamlib-developer wrote: > There are some libusb changes for FreeBSD > - printf(" bU1devExitLat: %u\n", ss_usb_cap->bU1DevExitLat); > + printf(" wU1devExitLat: %u\n", ss_usb_cap->bU1DevExitLat); > +#ifdef __FreeBSD__ > + printf(" wU2devExitLat: %u\n", ss_usb_cap->wU2DevExitLat); > +#else When I look at this, I'm confused. Of the first two lines the 'b' is replaced by the 'w' in the in the printed string, but is left pointing to ss_usb_cap->bU1DevExitLat. Should the pointer or the string be changed, or neither, or both? The third printf() inside the #if hints that the printf() prior to the #if should point to ss_usb_cap->wU1DevExitLat and not ss_usb_cap->bU1DevExitLat. Is this correct? 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 |