blob: 33b677ae26efaa8770dbdfaceedb776bd853bc48 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#include "led_driver_task.h"
#include "led_driver_config.h"
// FreeRTOS includes
#include "FreeRTOS.h"
#include "task.h"
#include "queue.h"
#include "semphr.h"
void LED_DriverInit ( void )
{
LED_Driver_Config ();
}
void ProcessFSM_LED_RGB ( void )
{
taskYIELD();
}
// ----------------------------------------------------------------------------
// Çàäà÷à ÎÑ, ðåàëèçóþùàÿ çàäà÷ó îáðàáîòêè ñâåòîäèîäèêîâ RGB
// ----------------------------------------------------------------------------
void LED_Driver_Task ( void *pvParameters )
{
while(1)ProcessFSM_LED_RGB ();
//vTaskDelete(NULL);
}
|