ODROID: Add __attribute__ for avoding unused parameters.

Signed-off-by: Luke go <sangch.go@gmail.com>
Change-Id: I4ff66f9f12f336635b7ee58215fb0f4053d343e8
This commit is contained in:
Luke go
2022-04-11 14:59:29 +09:00
parent 75b0858c55
commit dcf6f8ab43

View File

@@ -40,7 +40,7 @@
*********************************************************************************
*/
void myDigitalWrite (struct wiringPiNodeStruct *node, int pin, int value)
void myDigitalWrite (__attribute__ ((unused))struct wiringPiNodeStruct *node, int pin, int value)
{
digitalWrite (pin + 16, value) ;
}
@@ -69,7 +69,7 @@ int myDigitalRead (struct wiringPiNodeStruct *node, int pin)
*********************************************************************************
*/
void myPullUpDnControl (struct wiringPiNodeStruct *node, int pin, int pud)
void myPullUpDnControl (__attribute__ ((unused))struct wiringPiNodeStruct *node, int pin, int pud)
{
pullUpDnControl (pin + 16 + 8, pud) ;
}