diff --git a/src/dwgpsd.c b/src/dwgpsd.c index 890dd503..5d8b6acb 100644 --- a/src/dwgpsd.c +++ b/src/dwgpsd.c @@ -59,9 +59,9 @@ // dwgps.c claims to only support GPSD_API_MAJOR_VERSION 5, but also builds successfully with // GPSD_API_MAJOR_VERSION 6 provided by libgps22 when the attached patch is applied. -// Also compatible with API 7 & 8 with conditional compilation later. +// Also compatible with API 7, 8 and 9 with conditional compilation later. -#if GPSD_API_MAJOR_VERSION < 5 || GPSD_API_MAJOR_VERSION > 8 +#if GPSD_API_MAJOR_VERSION < 5 || GPSD_API_MAJOR_VERSION > 9 #error libgps API version might be incompatible. #endif @@ -423,7 +423,8 @@ int main (int argc, char *argv[]) while (1) { dwfix_t fix; - fix = dwgps_read (&info) ; + fix = dwgps_read (&info) +; text_color_set (DW_COLOR_INFO); switch (fix) { case DWFIX_2D: