Fix build issues on Linux.

This commit is contained in:
Serge 2018-09-17 23:43:46 -07:00
parent 859b993589
commit 171596c5fe
2 changed files with 5 additions and 4 deletions

View File

@ -38,6 +38,9 @@ static struct libusb_transfer *transfer; // async transfer descriptor
static unsigned char receive_buf[42]; // receive buffer
static volatile int nbytes_received = 0; // receive result
#define HID_INTERFACE 0 // interface index
#define TIMEOUT_MSEC 500 // receive timeout
//
// Callback function for asynchronous receive.
// Needs to fill the receive_buf and set nbytes_received.

4
rd5r.c
View File

@ -272,7 +272,6 @@ typedef struct {
//
// General settings.
// TODO: verify the general settings with official CPS
//
typedef struct {
// Bytes e0-e7
@ -283,8 +282,7 @@ typedef struct {
} general_settings_t;
//
// General settings.
// TODO: verify the general settings with official CPS
// Intro messages.
//
typedef struct {
// Bytes 7540-754f