cleaned up comment spelling.
This commit is contained in:
parent
ab7bf961bc
commit
e5fa627c06
4
ADC.c
4
ADC.c
|
@ -35,8 +35,8 @@ void ADC_Init(uint8_t pin_num)
|
||||||
RegEdit_SetBit((void *) &PORTA.OUTCLR, pin_num);
|
RegEdit_SetBit((void *) &PORTA.OUTCLR, pin_num);
|
||||||
|
|
||||||
//Disable input buffer
|
//Disable input buffer
|
||||||
//We do some kinda nasty address addition but it saves
|
//We do some kind of nasty address addition but it saves
|
||||||
//memory and means we don't need a switch statment.
|
//memory and means we don't need a switch statement.
|
||||||
//PORT_ISC_INPUT_DISABLE_gc
|
//PORT_ISC_INPUT_DISABLE_gc
|
||||||
RegEdit_SetBit(
|
RegEdit_SetBit(
|
||||||
(void *) (&PORTA.PIN0CTRL)+pin_num,
|
(void *) (&PORTA.PIN0CTRL)+pin_num,
|
||||||
|
|
Loading…
Reference in New Issue