Browse Source

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
master
alessandro 4 years ago committed by Daniel Agar
parent
commit
bd17653383
  1. 4
      src/templates/template_module/template_module.h

4
src/templates/template_module/template_module.h

@ -35,9 +35,11 @@ @@ -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[]);

Loading…
Cancel
Save