Ignore:
Timestamp:
Jan 13, 2025, 11:56:09 AM (3 days ago)
Author:
Zed
Message:

GSM thread was added.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ctrl/firmware/Main/SES/Core/Src/keys_thread.cpp

    r59 r61  
    1616        HAL_GPIO_WritePin(POWER_5V_EN_GPIO_Port, POWER_5V_EN_Pin, GPIO_PIN_SET);
    1717        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        }
    1826
    1927        while(1)
Note: See TracChangeset for help on using the changeset viewer.