diff --git a/examples/test_time.c b/examples/test_time.c index d3e2440..96ce25f 100644 --- a/examples/test_time.c +++ b/examples/test_time.c @@ -2,8 +2,8 @@ * This example uses direct processing function, * to process dummy PUBX TIME packets from GPS receiver */ -#include #include +#include #include "lwgps/lwgps.h" #include "test_common.h" @@ -12,21 +12,18 @@ #endif /* !LWGPS_CFG_STATEMENT_PUBX_TIME */ /* GPS handle */ -lwgps_t hgps; +static lwgps_t hgps; /** * \brief Dummy data from GPS receiver */ -const char -gps_rx_data_A[] = "" - "$PUBX,04*37\r\n" - "$PUBX,04,073731.00,091202,113851.00,1196,15D,1930035,-2660.664,43*71\r\n" - ""; -const char -gps_rx_data_B[] = "" - "$PUBX,04,200714.00,230320,158834.00,2098,18,536057,257.043,16*12\r\b" - ""; - +const char gps_rx_data_A[] = "" + "$PUBX,04*37\r\n" + "$PUBX,04,073731.00,091202,113851.00,1196,15D,1930035,-2660.664,43*71\r\n" + ""; +const char gps_rx_data_B[] = "" + "$PUBX,04,200714.00,230320,158834.00,2098,18,536057,257.043,16*12\r\n" + ""; /** * \brief Run the test of raw input data