mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-19 23:43:34 +08:00
fixed unused variable
This commit is contained in:
@@ -119,10 +119,9 @@ static void hrt_work_process()
|
||||
uint32_t remaining;
|
||||
uint32_t next;
|
||||
|
||||
int rv;
|
||||
// set the threads name
|
||||
#ifdef __PX4_DARWIN
|
||||
rv = pthread_setname_np("HRT");
|
||||
pthread_setname_np("HRT");
|
||||
#else
|
||||
// The Linux headers do not actually contain this
|
||||
//rv = pthread_setname_np(pthread_self(), "HRT");
|
||||
|
||||
Reference in New Issue
Block a user