Browse Source

Fix for multiple definition of comDat

pull/76/head
akvavit01 4 years ago
committed by GitHub
parent
commit
c69c7d6005
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 1 deletions
  1. +9
    -1
      wiringPiD/drcNetCmd.h

+ 9
- 1
wiringPiD/drcNetCmd.h View File

@@ -34,11 +34,19 @@
#define DRCN_DIGITAL_READ8 8
#define DRCN_ANALOG_READ 9


// Multiple definition for comDat fix
/*
struct drcNetComStruct
{
uint32_t pin ;
uint32_t cmd ;
uint32_t data ;
} comDat ;
*/

struct drcNetComStruct
{
uint32_t pin ;
uint32_t cmd ;
uint32_t data ;
};

Loading…
Cancel
Save