mirror of
https://github.com/apache/nuttx.git
synced 2026-06-12 06:03:10 +08:00
SAMA5D3 Xplained: Add support for the Itead Joystick shield
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user