|
|
|
@ -1099,7 +1099,7 @@ UavcanNode::ioctl(file *filp, int cmd, unsigned long arg)
@@ -1099,7 +1099,7 @@ UavcanNode::ioctl(file *filp, int cmd, unsigned long arg)
|
|
|
|
|
|
|
|
|
|
case MIXERIOCLOADBUF: { |
|
|
|
|
const char *buf = (const char *)arg; |
|
|
|
|
unsigned buflen = strnlen(buf, 1024); |
|
|
|
|
unsigned buflen = strlen(buf); |
|
|
|
|
|
|
|
|
|
if (_mixers == nullptr) { |
|
|
|
|
_mixers = new MixerGroup(control_callback, (uintptr_t)_controls); |
|
|
|
|