mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-04 05:42:49 +08:00
navdata_port is private.
This commit is contained in:
@@ -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()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user