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:
alessandro 2021-07-21 14:53:31 +02:00 committed by Daniel Agar
parent 440449b85f
commit bd17653383
1 changed files with 3 additions and 1 deletions

View File

@ -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[]);