浏览代码
Fix for multiple definition of comDat
pull/76/head
akvavit01
4 年前
committed by
GitHub
找不到此签名对应的密钥
GPG 密钥 ID: 4AEE18F83AFDEB23
共有
1 个文件被更改,包括
9 次插入 和
1 次删除
-
wiringPiD/drcNetCmd.h
|
|
@@ -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 ; |
|
|
|
}; |