navdata_port is private.

This commit is contained in:
Ben Laurie
2013-09-08 05:43:37 +01:00
committed by Ben Laurie
parent 3651e8ceeb
commit 057c842045
2 changed files with 11 additions and 11 deletions
+11 -1
View File
@@ -36,7 +36,17 @@
#include <math.h>
#include "navdata.h"
int nav_fd;
typedef struct {
uint8_t isInitialized;
uint8_t isOpen;
uint16_t bytesRead;
uint32_t totalBytesRead;
uint32_t packetsRead;
uint8_t buffer[NAVDATA_BUFFER_SIZE];
} navdata_port;
static navdata_port* port;
static int nav_fd;
int navdata_init()
{