delete drv_mixer.h

This commit is contained in:
Daniel Agar
2022-09-09 09:14:09 -04:00
parent d3312f955f
commit 0019ffbea6
20 changed files with 14 additions and 484 deletions
-27
View File
@@ -413,33 +413,6 @@ void TAP_ESC::Run()
perf_end(_cycle_perf);
}
int TAP_ESC::ioctl(device::file_t *filp, int cmd, unsigned long arg)
{
SmartLock lock_guard(_lock);
int ret = OK;
switch (cmd) {
case MIXERIOCRESET:
_mixing_output.resetMixer();
break;
case MIXERIOCLOADBUF: {
const char *buf = (const char *)arg;
unsigned buflen = strlen(buf);
ret = _mixing_output.loadMixer(buf, buflen);
break;
}
default:
ret = -ENOTTY;
break;
}
return ret;
}
int TAP_ESC::task_spawn(int argc, char *argv[])
{
/* Parse arguments */
-2
View File
@@ -62,7 +62,6 @@
#include <uORB/topics/led_control.h>
#include <drivers/drv_hrt.h>
#include <drivers/drv_mixer.h>
#include "tap_esc_common.h"
@@ -100,7 +99,6 @@ public:
int print_status() override;
int init() override;
int ioctl(device::file_t *filp, int cmd, unsigned long arg) override;
bool updateOutputs(bool stop_motors, uint16_t outputs[MAX_ACTUATORS],
unsigned num_outputs, unsigned num_control_groups_updated) override;