File tree 2 files changed +1
-11
lines changed
2 files changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -52,11 +52,7 @@ extern "C" {
52
52
}
53
53
54
54
void initVariant () {
55
- // configure analog mux to split Pxy and Pxy_C
56
- HAL_SYSCFG_AnalogSwitchConfig (SYSCFG_SWITCH_PA0, SYSCFG_SWITCH_PA0_OPEN);
57
- HAL_SYSCFG_AnalogSwitchConfig (SYSCFG_SWITCH_PA1, SYSCFG_SWITCH_PA1_OPEN);
58
- HAL_SYSCFG_AnalogSwitchConfig (SYSCFG_SWITCH_PC2, SYSCFG_SWITCH_PC2_OPEN);
59
- HAL_SYSCFG_AnalogSwitchConfig (SYSCFG_SWITCH_PC3, SYSCFG_SWITCH_PC3_OPEN);
55
+
60
56
}
61
57
62
58
#ifdef SERIAL_CDC
Original file line number Diff line number Diff line change @@ -58,12 +58,6 @@ void initVariant() {
58
58
// Turn off LED from bootloader
59
59
pinMode (PK_6, OUTPUT);
60
60
digitalWrite (PK_6, HIGH);
61
-
62
- // configure analog mux to split Pxy and Pxy_C
63
- HAL_SYSCFG_AnalogSwitchConfig (SYSCFG_SWITCH_PA0, SYSCFG_SWITCH_PA0_OPEN);
64
- HAL_SYSCFG_AnalogSwitchConfig (SYSCFG_SWITCH_PA1, SYSCFG_SWITCH_PA1_OPEN);
65
- HAL_SYSCFG_AnalogSwitchConfig (SYSCFG_SWITCH_PC2, SYSCFG_SWITCH_PC2_OPEN);
66
- HAL_SYSCFG_AnalogSwitchConfig (SYSCFG_SWITCH_PC3, SYSCFG_SWITCH_PC3_OPEN);
67
61
}
68
62
69
63
#ifdef SERIAL_CDC
You can’t perform that action at this time.
0 commit comments