cmsis_os1.c-->osMailCreate bug, mtp_id is assigned two times.
swordligit opened this issue · comments
swordligit commented
ptr->mp_id = osMemoryPoolNew (queue_def->queue_sz, queue_def->item_sz, &queue_def->mp_attr);
ptr->mq_id = osMessageQueueNew(queue_def->queue_sz, sizeof(void *), &queue_def->mq_attr);
swordligit commented
Sorry, this is not a bug, I am wrong:
These are two variable: mp_id and mq_id, I misread them.