SAMA5D3 Xplained: Add support for the Itead Joystick shield
This commit is contained in:
parent
6d7106424e
commit
e333132280
@ -2023,7 +2023,7 @@ struct adc_dev_s *sam_adc_initialize(void)
|
||||
regval |= PMC_PCR_PID(SAM_PID_ADC) | PMC_PCR_CMD | PMC_PCR_EN;
|
||||
sam_adc_putreg(priv, SAM_PMC_PCR, regval);
|
||||
|
||||
/* Enable the ADC peripheral clock*/
|
||||
/* Enable the ADC peripheral clock */
|
||||
|
||||
sam_adc_enableclk();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user