From c69c7d60058e04f1e170723c2a9562ea095d1c79 Mon Sep 17 00:00:00 2001 From: akvavit01 <48801175+akvavit01@users.noreply.github.com> Date: Fri, 5 Jun 2020 18:00:20 +0700 Subject: [PATCH] Fix for multiple definition of comDat --- wiringPiD/drcNetCmd.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/wiringPiD/drcNetCmd.h b/wiringPiD/drcNetCmd.h index 23f7dc1..9754ad0 100644 --- a/wiringPiD/drcNetCmd.h +++ b/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 ; +};