Transition from timer based to task based LED signal
- Remove RTOS timers - Create LED task - Avoid polling, instead wait for semaphore
This commit is contained in:
@@ -45,7 +45,6 @@ typedef struct {
|
||||
typedef struct {
|
||||
LED_Config *led;
|
||||
osSemaphoreId_t semaphore;
|
||||
osTimerId_t timer;
|
||||
} LEDContext;
|
||||
/* USER CODE END PTD */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user