Skip to content
Snippets Groups Projects
Commit 4b6e6572 authored by Beat Küng's avatar Beat Küng Committed by Julian Oes
Browse files

fix navio_sysfs_pwm_out: use correct type for buflen (required by MultirotorMixer::from_text)

parent d4530d3a
No related branches found
No related tags found
No related merge requests found
......@@ -124,7 +124,7 @@ int mixer_control_callback(uintptr_t handle,
int initialize_mixer(const char *mixer_filename)
{
char buf[2048];
size_t buflen = sizeof(buf);
unsigned buflen = sizeof(buf);
PX4_INFO("Trying to initialize mixer from config file %s", mixer_filename);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment