From 1a2de05e714f28997107267f03e861f68afa9d0e Mon Sep 17 00:00:00 2001 From: wb2osz Date: Sun, 6 Jan 2019 11:59:14 -0500 Subject: [PATCH] Better error message. --- beacon.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/beacon.c b/beacon.c index 952bc8a..c7cea15 100644 --- a/beacon.c +++ b/beacon.c @@ -221,6 +221,15 @@ void beacon_init (struct audio_s *pmodem, struct misc_config_s *pconfig, struct text_color_set(DW_COLOR_ERROR); dw_printf ("Config file, line %d: GPS must be configured to use TBEACON.\n", g_misc_config_p->beacon[j].lineno); g_misc_config_p->beacon[j].btype = BEACON_IGNORE; +#if __WIN32__ + dw_printf ("You must specify the GPSNMEA command in your configuration file.\n"); + dw_printf ("This contains the name of the serial port where the receiver is connected.\n"); +#else + dw_printf ("You must specify the source of the GPS data in your configuration file.\n"); + dw_printf ("It can be either GPSD, meaning the gpsd daemon, or GPSNMEA for\n"); + dw_printf ("for a serial port connection with exclusive use.\n"); +#endif + } } break;