diff options
Diffstat (limited to 'apps/codec_thread.c')
| -rw-r--r-- | apps/codec_thread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/codec_thread.c b/apps/codec_thread.c index f166f2b..6f15ba1 100644 --- a/apps/codec_thread.c +++ b/apps/codec_thread.c @@ -567,7 +567,7 @@ void codec_thread_resume(void) bool is_codec_thread(void) { - return thread_get_current() == codec_thread_id; + return thread_self() == codec_thread_id; } #ifdef HAVE_PRIORITY_SCHEDULING |