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:
Beat Küng
2019-08-27 11:45:31 +02:00
parent f32abe8534
commit 43fdcd7876
24 changed files with 27 additions and 105 deletions

View File

@@ -38,7 +38,6 @@
*/
#include <px4_defines.h>
#include <px4_middleware.h>
#include <drivers/drv_hrt.h>
namespace px4
@@ -49,9 +48,4 @@ void init(int argc, char *argv[], const char *process_name)
printf("process: %s\n", process_name);
}
uint64_t get_time_micros()
{
return hrt_absolute_time();
}
}