summaryrefslogtreecommitdiff
path: root/2.3-1/src/c/hardware/avr/gpio/u8AVRDigitalOuts.c
diff options
context:
space:
mode:
authorsiddhu89902016-10-18 10:31:23 +0530
committersiddhu89902016-10-18 10:31:23 +0530
commitcdd9bf519d594b87c07193d2770b81a07829a50c (patch)
treec8985f43c314cafcfa04053a821116424d54c2a1 /2.3-1/src/c/hardware/avr/gpio/u8AVRDigitalOuts.c
parentf0ef5a2d4560f166751b58020ee5a2bc70904611 (diff)
downloadScilab2C-cdd9bf519d594b87c07193d2770b81a07829a50c.tar.gz
Scilab2C-cdd9bf519d594b87c07193d2770b81a07829a50c.tar.bz2
Scilab2C-cdd9bf519d594b87c07193d2770b81a07829a50c.zip
Suppressed declaration of not required variables and functions
Diffstat (limited to '2.3-1/src/c/hardware/avr/gpio/u8AVRDigitalOuts.c')
-rw-r--r--2.3-1/src/c/hardware/avr/gpio/u8AVRDigitalOuts.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/2.3-1/src/c/hardware/avr/gpio/u8AVRDigitalOuts.c b/2.3-1/src/c/hardware/avr/gpio/u8AVRDigitalOuts.c
index 5ee84a80..118da542 100644
--- a/2.3-1/src/c/hardware/avr/gpio/u8AVRDigitalOuts.c
+++ b/2.3-1/src/c/hardware/avr/gpio/u8AVRDigitalOuts.c
@@ -25,7 +25,7 @@
#include "AVRPeripheralGPIO.h"
-uint8 u8AVRDigitalOuts(uint8 port,uint8 pin,uint8 state)
+void u8AVRDigitalOuts(uint8 port,uint8 pin,uint8 state)
{
if(state == LOW)
{/*Make output pin high*/
@@ -65,5 +65,4 @@ uint8 u8AVRDigitalOuts(uint8 port,uint8 pin,uint8 state)
PORTD = PORTD | (1<<pin);
}
}
-return 0;
}