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-30 07:59:44 +02:00
parent f32abe8534
commit 43fdcd7876
24 changed files with 27 additions and 105 deletions
@@ -38,7 +38,6 @@
*/
#include <px4_defines.h>
#include <px4_middleware.h>
#include <px4_workqueue.h>
#include <px4_defines.h>
#include <stdint.h>
@@ -98,10 +97,5 @@ void init(int argc, char *argv[], const char *app_name)
#endif
}
uint64_t get_time_micros()
{
return hrt_absolute_time();
}
}