A59 -V1.1版本提交
This commit is contained in:
@ -25,6 +25,7 @@ static pthread_mutex_t carlink_com_locker =
|
||||
.xAttr = { .iType = 0 }
|
||||
};
|
||||
|
||||
void pthread_key_system_init();
|
||||
|
||||
void carlink_rfcomm_data_read_hook(void* buf, int len)
|
||||
{
|
||||
@ -41,7 +42,7 @@ void carlink_rfcomm_data_read_hook(void* buf, int len)
|
||||
|
||||
void carlink_notify_event(struct carlink_event *ev)
|
||||
{
|
||||
if (-1 != ev->type && NULL != carlink_event_queue) {
|
||||
if (CARLINK_EVENT_NONE != ev->type && NULL != carlink_event_queue) {
|
||||
xQueueSend(carlink_event_queue, ev, 0);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user