git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@13349 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
This commit is contained in:
parent
f1e9a2f5d9
commit
4a12b49e4c
|
@ -112,7 +112,7 @@ const ADCConversionGroup portab_adcgrpcfg2 = {
|
|||
void portab_setup(void) {
|
||||
|
||||
/* ADC inputs.*/
|
||||
palSetGroupMode(GPIOC, PAL_PORT_BIT(0) | PAL_PORT_BIT(1),
|
||||
palSetGroupMode(GPIOB, PAL_PORT_BIT(2) | PAL_PORT_BIT(10),
|
||||
0, PAL_MODE_INPUT_ANALOG);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue