pp: fix adc mistake where base 10 was used instead of base 16
Change-Id: I8562af8a11a22cd9edec149b2519ac0205d2b2dc
This commit is contained in:
parent
13dbcab6c0
commit
448f98d9c0
1 changed files with 1 additions and 1 deletions
|
@ -146,7 +146,7 @@ void adc_init(void)
|
|||
ADC_STATUS |= 0x20;
|
||||
|
||||
/* Enable channel 1 (unknown) */
|
||||
DEV_INIT1 &=~30;
|
||||
DEV_INIT1 &=~0x30;
|
||||
ADC_ADDR |= 0x2000000;
|
||||
ADC_STATUS |= 0x2000;
|
||||
|
||||
|
|
Loading…
Reference in a new issue