队列死机2

    xiaoxiao2022-06-30  147

    方案二:第三个参数队列和信号量一样 启动高切换 static portBASE_TYPE        xHigherPriorityTaskWoken = pdFALSE;  

    xQueueSendFromISR    ( xJournalQueue, ( void* )&message, &xHigherPriorityTaskWoken );  portEND_SWITCHING_ISR(xHigherPriorityTaskWoken );

    也没有效果


    最新回复(0)