10 lines
162 B
C
10 lines
162 B
C
![]() |
#include "global.h"
|
||
|
|
||
|
OSPri osGetThreadPri(OSThread* thread) {
|
||
|
if (thread == NULL) {
|
||
|
thread = __osRunningThread;
|
||
|
}
|
||
|
|
||
|
return thread->priority;
|
||
|
}
|