mirror of
https://github.com/pvvx/RTL00_WEB.git
synced 2024-11-25 15:34:20 +00:00
Initialize variable before first use
This commit is contained in:
parent
9292f63c37
commit
a515ffbdf8
1 changed files with 1 additions and 0 deletions
|
@ -1938,6 +1938,7 @@ void qfnk_task(void)
|
||||||
WEB_SRV_QFNK qfn;
|
WEB_SRV_QFNK qfn;
|
||||||
WEB_SRV_QFNK qfnt;
|
WEB_SRV_QFNK qfnt;
|
||||||
TickType_t timetick;
|
TickType_t timetick;
|
||||||
|
qfnt.fnc = NULL;
|
||||||
while(1) {
|
while(1) {
|
||||||
if(xQueueReceive(xQueueWebSrv, &qfn, 5) == pdPASS) { // portMAX_DELAY
|
if(xQueueReceive(xQueueWebSrv, &qfn, 5) == pdPASS) { // portMAX_DELAY
|
||||||
if(qfn.fnc) {
|
if(qfn.fnc) {
|
||||||
|
|
Loading…
Reference in a new issue