summaryrefslogtreecommitdiff
path: root/src/c/hardware/avr/gpio/u8AVRDigitalSetups.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/c/hardware/avr/gpio/u8AVRDigitalSetups.c')
-rw-r--r--src/c/hardware/avr/gpio/u8AVRDigitalSetups.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/c/hardware/avr/gpio/u8AVRDigitalSetups.c b/src/c/hardware/avr/gpio/u8AVRDigitalSetups.c
index 46697f7..e28c468 100644
--- a/src/c/hardware/avr/gpio/u8AVRDigitalSetups.c
+++ b/src/c/hardware/avr/gpio/u8AVRDigitalSetups.c
@@ -25,7 +25,7 @@
#include "AVRPeripheralGPIO.h"
-uint8 u8AVRDigitalSetups(uint8 port,uint8 pin,uint8 direction)
+void u8AVRDigitalSetups(uint8 port,uint8 pin,uint8 direction)
{
if (direction == INPUT)
@@ -66,6 +66,5 @@ uint8 u8AVRDigitalSetups(uint8 port,uint8 pin,uint8 direction)
DDRD = DDRD | (1<<pin);
}
}
-return 0;
}