mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-18 18:03:33 +08:00
px4_middleware: remove that header and move px4::init to px4_init.h
delete include: for i in $(grep -rl 'px4_middleware.h' src platforms); do sed -i '/#include <px4_middleware.h/d' $i; done
This commit is contained in:
@@ -41,7 +41,6 @@
|
||||
#include <drivers/drv_pwm_output.h>
|
||||
#include <lib/mixer/mixer.h>
|
||||
#include <perf/perf_counter.h>
|
||||
#include <px4_common.h>
|
||||
#include <px4_config.h>
|
||||
#include <px4_module.h>
|
||||
#include <px4_tasks.h>
|
||||
|
||||
@@ -43,7 +43,6 @@
|
||||
#include <px4_log.h>
|
||||
#include <px4_time.h>
|
||||
#include <px4_posix.h>
|
||||
#include <px4_middleware.h>
|
||||
#include <px4_defines.h>
|
||||
#include <dspal_platform.h>
|
||||
|
||||
|
||||
@@ -38,9 +38,9 @@
|
||||
* @author Nicolas de Palezieux <ndepal@gmail.com>
|
||||
*/
|
||||
|
||||
#include <px4_middleware.h>
|
||||
#include <px4_log.h>
|
||||
#include <px4_app.h>
|
||||
#include <px4_init.h>
|
||||
#include "qshell.h"
|
||||
|
||||
extern "C" __EXPORT int qshell_entry(int argc, char **argv);
|
||||
|
||||
@@ -37,9 +37,9 @@
|
||||
*
|
||||
* @author Mark Charlebois <charlebm@gmail.com>
|
||||
*/
|
||||
#include <px4_middleware.h>
|
||||
#include <px4_log.h>
|
||||
#include <px4_app.h>
|
||||
#include <px4_init.h>
|
||||
#include "hello_example.h"
|
||||
#include <stdio.h>
|
||||
|
||||
|
||||
@@ -37,9 +37,9 @@
|
||||
*
|
||||
* @author Mark Charlebois <charlebm@gmail.com>
|
||||
*/
|
||||
#include <px4_middleware.h>
|
||||
#include <px4_log.h>
|
||||
#include <px4_app.h>
|
||||
#include <px4_init.h>
|
||||
#include "muorb_test_example.h"
|
||||
|
||||
extern "C" __EXPORT int muorb_test_entry(int argc, char **argv);
|
||||
|
||||
@@ -39,6 +39,7 @@
|
||||
#include "muorb_test_example.h"
|
||||
#include <px4_log.h>
|
||||
#include <px4_app.h>
|
||||
#include <px4_init.h>
|
||||
#include <px4_tasks.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
Reference in New Issue
Block a user