[bsp/phytium]c++支持,gpio,qspi驱动修改 (#9059)

* GPIO驱动与QSPI驱动适配

* C++支持

* update

---------

Co-authored-by: 张衍 <zhangyan1491@phytium.com.cn>
This commit is contained in:
zhangyan
2024-06-16 15:42:37 +08:00
committed by GitHub
co-authored by 张衍
parent 2866da37a0
commit 842b555358
62 changed files with 2002 additions and 923 deletions
+1 -1
View File
@@ -354,7 +354,7 @@ int pthread_detach(pthread_t thread)
goto __exit;
}
if ((ptd->tid->stat & RT_THREAD_STAT_MASK) == RT_THREAD_CLOSE)
if ((RT_SCHED_CTX(ptd->tid).stat & RT_THREAD_STAT_MASK) == RT_THREAD_CLOSE)
{
/* destroy this pthread */
_pthread_data_destroy(ptd);