We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26b037d commit 4efc48bCopy full SHA for 4efc48b
Core/Src/u_threads.c
@@ -138,8 +138,8 @@ void gpio_lights_thread(ULONG thread_input) {
138
139
switch (state) {
140
case LIGHT_GREEN:
141
- HAL_GPIO_WritePin(GREEN_GPIO_Port, GREEN_Pin, GPIO_PIN_SET);
142
HAL_GPIO_WritePin(RED_GPIO_Port, RED_Pin, GPIO_PIN_RESET);
+ HAL_GPIO_WritePin(GREEN_GPIO_Port, GREEN_Pin, GPIO_PIN_SET);
143
break;
144
case LIGHT_RED:
145
HAL_GPIO_WritePin(GREEN_GPIO_Port, GREEN_Pin, GPIO_PIN_RESET);
0 commit comments