pp: fix adc mistake where base 10 was used instead of base 16

Change-Id: I8562af8a11a22cd9edec149b2519ac0205d2b2dc
This commit is contained in:
James Buren 2021-04-09 20:06:51 -05:00 committed by Solomon Peachy
parent 13dbcab6c0
commit 448f98d9c0

View file

@ -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;