mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-10 06:39:25 +08:00
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:
@@ -35,9 +35,11 @@
|
||||
|
||||
#include <px4_platform_common/module.h>
|
||||
#include <px4_platform_common/module_params.h>
|
||||
#include <uORB/Subscription.hpp>
|
||||
#include <uORB/SubscriptionInterval.hpp>
|
||||
#include <uORB/topics/parameter_update.h>
|
||||
|
||||
using namespace time_literals;
|
||||
|
||||
extern "C" __EXPORT int template_module_main(int argc, char *argv[]);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user