Changeset 61 for ctrl/firmware/Main/SES/Core/Src
- Timestamp:
- Jan 13, 2025, 11:56:09 AM (3 days ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ctrl/firmware/Main/SES/Core/Src/keys_thread.cpp
r59 r61 16 16 HAL_GPIO_WritePin(POWER_5V_EN_GPIO_Port, POWER_5V_EN_Pin, GPIO_PIN_SET); 17 17 HAL_GPIO_WritePin(POWER_10V_EN_GPIO_Port, POWER_10V_EN_Pin, GPIO_PIN_SET); 18 19 for (auto i = 0U; i < 5; i++) 20 { 21 HAL_GPIO_WritePin(BUZZER_GPIO_Port, BUZZER_Pin, GPIO_PIN_SET); 22 tx_thread_sleep(10U); 23 HAL_GPIO_WritePin(BUZZER_GPIO_Port, BUZZER_Pin, GPIO_PIN_RESET); 24 tx_thread_sleep(100U); 25 } 18 26 19 27 while(1)
Note: See TracChangeset
for help on using the changeset viewer.