forked from Archive/PX4-Autopilot
Fix template_module header
- SubscriptionInterval.hpp includes Subscription.hpp, but not vice versa - The time literal 1_s is defined in the namespace time_literals
This commit is contained in:
parent
440449b85f
commit
bd17653383
|
@ -35,9 +35,11 @@
|
||||||
|
|
||||||
#include <px4_platform_common/module.h>
|
#include <px4_platform_common/module.h>
|
||||||
#include <px4_platform_common/module_params.h>
|
#include <px4_platform_common/module_params.h>
|
||||||
#include <uORB/Subscription.hpp>
|
#include <uORB/SubscriptionInterval.hpp>
|
||||||
#include <uORB/topics/parameter_update.h>
|
#include <uORB/topics/parameter_update.h>
|
||||||
|
|
||||||
|
using namespace time_literals;
|
||||||
|
|
||||||
extern "C" __EXPORT int template_module_main(int argc, char *argv[]);
|
extern "C" __EXPORT int template_module_main(int argc, char *argv[]);
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue