Skip to content

Commit

Permalink
mixer_module: create MixingOutput library and use in fmu
Browse files Browse the repository at this point in the history
This should be a pure refactoring, no functional change.
  • Loading branch information
bkueng authored and dagar committed Aug 31, 2019
1 parent 0ec6e79 commit d3fb610
Show file tree
Hide file tree
Showing 9 changed files with 822 additions and 439 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,15 @@ class WorkItem : public IntrusiveQueueNode<WorkItem *>

virtual void Run() = 0;

/**
* Switch to a different WorkQueue.
* NOTE: Caller is responsible for synchronization.
*
* @param config The WorkQueue configuration (see WorkQueueManager.hpp).
* @return true if initialization was successful
*/
bool ChangeWorkQeue(const wq_config_t &config) { return Init(config); }

protected:

/**
Expand Down
1 change: 1 addition & 0 deletions src/drivers/px4fmu/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,6 @@ px4_add_module(
arch_io_pins
circuit_breaker
mixer
mixer_module
pwm_limit
)
Loading

0 comments on commit d3fb610

Please sign in to comment.