direwolf
direwolf copied to clipboard
Update dwgpsd.c
Fix for Issue #330
An incompatibility was introduced again when using gpsd api 11 from gpsd: 3.22.1~dev (revision release-3.22-332-g743585cc3) Increasing the Changing GPSD_API_MAJOR_VERSION > 11 to 12 solves this.
Did you actually run it successfully or declare victory when it compiled OK?
There was at least one other case where simply accepting the higher API version resulted in successful compilation but it did not run properly. Additional API version specific changes were necessary. You will notice the code is littered with numerous places trying to keep up with all the incompatible changes made to the API.
Hi,
Sorry, should have included that. Yes, It has compiled successfully without error after the modification was made. I have compiled this version successfully and had it running as an iGate yesterday for a few hours of testing without issue. I can see how much of a challenge it is to keep up with all the changes. It's not easy. I really appreciate the time and effort that's been put into maintaining and improving direwolf over the years. Thansk Tom EI5IEB
FYI: with gpsd 3.24 you need GPSD_API_MAJOR_VERSION > 14