A59 -V1.1版本提交

This commit is contained in:
2024-10-10 17:41:53 +08:00
parent 16b6433a98
commit 5f032cd320
903 changed files with 171909 additions and 22876 deletions

View File

@ -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);
}
}