ODROID: Add __attribute__ for avoding unused parameters.
Signed-off-by: Luke go <sangch.go@gmail.com> Change-Id: I4ff66f9f12f336635b7ee58215fb0f4053d343e8
This commit is contained in:
@@ -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) ;
|
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) ;
|
pullUpDnControl (pin + 16 + 8, pud) ;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user