Skip to content

move to cmake, ctest, cpack to build direwolf #227

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 16 commits into from
Nov 23, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
walk96: fix builing errors (api mismatch)
  • Loading branch information
ra1nb0w committed Nov 9, 2019
commit de98f26229e4b9fdc7a62e1c7f27455e366547d4
4 changes: 2 additions & 2 deletions src/walk96.c
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ int main (int argc, char *argv[])
// USB GPS happens to be COM22

memset (&config, 0, sizeof(config));
strlcpy (config.gpsnmea_port, "COM22", sizeof(config.nmea_port));
strlcpy (config.gpsnmea_port, "COM22", sizeof(config.gpsnmea_port));

dwgps_init (&config, debug_gps);

Expand Down Expand Up @@ -152,7 +152,7 @@ static void walk96 (int fix, double lat, double lon, float knots, float course,


info_len = encode_position (messaging, compressed,
lat, lon, (int)(DW_METERS_TO_FEET(alt)),
lat, lon, 0, (int)(DW_METERS_TO_FEET(alt)),
'/', '=',
G_UNKNOWN, G_UNKNOWN, G_UNKNOWN, "", // PHGd
(int)roundf(course), (int)roundf(knots),
Expand Down