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
igate: fix build errors
  • Loading branch information
ra1nb0w committed Nov 9, 2019
commit 6f8ac80afdeb9478b0972da70ea0a678b8bf5b50
6 changes: 3 additions & 3 deletions src/igate.c
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ int main (int argc, char *argv[])
packet_t pp;

memset (&audio_config, 0, sizeof(audio_config));
audio_config.adev[0].num_chans = 2;
audio_config.adev[0].num_channels = 2;
strlcpy (audio_config.achan[0].mycall, "WB2OSZ-1", sizeof(audio_config.achan[0].mycall));
strlcpy (audio_config.achan[1].mycall, "WB2OSZ-2", sizeof(audio_config.achan[0].mycall));

Expand All @@ -228,7 +228,7 @@ int main (int argc, char *argv[])

memset (&digi_config, 0, sizeof(digi_config));

igate_init(&igate_config, &digi_config);
igate_init(&audio_config, &igate_config, &digi_config, 0);

while (igate_sock == -1) {
SLEEP_SEC(1);
Expand Down Expand Up @@ -269,7 +269,7 @@ int main (int argc, char *argv[])
SLEEP_SEC (20);
text_color_set(DW_COLOR_INFO);
dw_printf ("Send received packet\n");
send_msg_to_server ("W1ABC>APRS:?", strlen("W1ABC>APRS:?");
send_msg_to_server ("W1ABC>APRS:?", strlen("W1ABC>APRS:?"));
}
#endif
return 0;
Expand Down