summaryrefslogtreecommitdiff
path: root/2.3-1/src/c/hardware/avr/adc/u8AVRADCSetups.c
diff options
context:
space:
mode:
Diffstat (limited to '2.3-1/src/c/hardware/avr/adc/u8AVRADCSetups.c')
-rw-r--r--2.3-1/src/c/hardware/avr/adc/u8AVRADCSetups.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/2.3-1/src/c/hardware/avr/adc/u8AVRADCSetups.c b/2.3-1/src/c/hardware/avr/adc/u8AVRADCSetups.c
index 620f80fe..f9d310b8 100644
--- a/2.3-1/src/c/hardware/avr/adc/u8AVRADCSetups.c
+++ b/2.3-1/src/c/hardware/avr/adc/u8AVRADCSetups.c
@@ -26,7 +26,7 @@
#include "AVRPeripheralADC.h"
-uint8 u8AVRADCSetups(uint8 prescalar, uint8 adc_ref)
+void u8AVRADCSetups(uint8 prescalar, uint8 adc_ref)
{
/*Set the prescalar value*/
ADCSRA |= (prescalar & 0x07);
@@ -37,6 +37,5 @@ uint8 u8AVRADCSetups(uint8 prescalar, uint8 adc_ref)
/*Enable ADC hardware. Set ADEN bit*/
ADCSRA |= (1<<7);
- return 0;
}