|
bug 修改
- if (memcmp(rx_buffer, Semaphore_Release, ALL_MSG_COMMON_LEN) == 0)
- {
- if(Semaphore[Semaphore_Release[ALL_MSG_TAG_IDX]] == 1)
- {
- Semaphore[Semaphore_Release[ALL_MSG_TAG_IDX]] = 0 ;
- Waiting_TAG_Release_Semaphore --;
- }
- }
复制代码
修改为
- if (memcmp(rx_buffer, Semaphore_Release, ALL_MSG_COMMON_LEN) == 0)
- {
- if(Semaphore[rx_buffer[ALL_MSG_TAG_IDX]] == 1)
- {
- Semaphore[rx_buffer[ALL_MSG_TAG_IDX]] = 0 ;
- Waiting_TAG_Release_Semaphore --;
- }
- }
复制代码
|
|