Changeset 10 for trunk/firmware_cube/Core/Src/main.c
- Timestamp:
- Feb 23, 2025, 1:25:41 PM (5 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/firmware_cube/Core/Src/main.c
r9 r10 26 26 #include "buzzer.h" 27 27 #include "relais.h" 28 #include "leds.h" 28 29 #include "modeswitch.h" 29 30 #include "mode_mainswitch.h" … … 132 133 BUZZER_Exec(); 133 134 RELAIS_Exec(); 135 LEDS_Exec(); 134 136 oldTimeMSTick = HAL_GetTick(); 135 137 } … … 227 229 GPIO_InitStruct.Pin = GPIO_INPUT_LVP_Pin|GPIO_INPUT_OVP_Pin; 228 230 GPIO_InitStruct.Mode = GPIO_MODE_INPUT; 229 GPIO_InitStruct.Pull = GPIO_PULL DOWN;231 GPIO_InitStruct.Pull = GPIO_PULLUP; 230 232 HAL_GPIO_Init(GPIOA, &GPIO_InitStruct); 231 233
Note: See TracChangeset
for help on using the changeset viewer.