Skip to content

Commit

Permalink
fix wrong character
Browse files Browse the repository at this point in the history
  • Loading branch information
MaJerle committed Sep 17, 2024
1 parent 2215445 commit 40b1701
Showing 1 changed file with 9 additions and 12 deletions.
21 changes: 9 additions & 12 deletions examples/test_time.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
* This example uses direct processing function,
* to process dummy PUBX TIME packets from GPS receiver
*/
#include <string.h>
#include <stdio.h>
#include <string.h>
#include "lwgps/lwgps.h"
#include "test_common.h"

Expand All @@ -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
Expand Down

0 comments on commit 40b1701

Please sign in to comment.