Question
Error stm32 when use button

Hello everyone, I use the button to hold the Semaphore in this task, when I press the button the Semaphore is released, but the error I get is that the button is not pressed but the Semaphore is automatically released
plsss help me, thank so much
