Revision 5034a2a5

View differences:

core/src/aos_rtcan.c
85 85
 */
86 86
rtcan_msg_t* popRTCanMsg(msgqueue_t* msgqueue){
87 87
    if(!msgqueueEmpty(msgqueue)){
88
        rtcan_msg_t elem = msgqueue->head;
88
        rtcan_msg_t *elem = msgqueue->head;
89 89
        msgqueue->head = elem->next;
90 90
        return elem;
91 91
    }

Also available in: Unified diff