mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-09 03:02:36 +08:00
Fixed misuse of the preprocessor
This commit is contained in:
committed by
Lorenz Meier
parent
eff6a7b5d0
commit
9b0ab83f9b
@@ -64,11 +64,6 @@
|
||||
|
||||
#include <v1.0/common/mavlink.h>
|
||||
|
||||
//todo:The Inclusion of file_server_backend is killing
|
||||
// #include <sys/types.h> and leaving OK undefined
|
||||
# define OK 0
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @file uavcan_servers.cpp
|
||||
@@ -283,7 +278,7 @@ int UavcanServers::init()
|
||||
|
||||
/* Start the Node */
|
||||
|
||||
return OK;
|
||||
return 0;
|
||||
}
|
||||
|
||||
pthread_addr_t UavcanServers::run(pthread_addr_t)
|
||||
|
||||
Reference in New Issue
Block a user