Skip to content
Snippets Groups Projects
Commit 4304c418 authored by burneykb's avatar burneykb
Browse files

complying with frontend_setpid

parent ced0d94c
No related branches found
No related tags found
1 merge request!2WIP: use a circular buffer
......@@ -34,13 +34,13 @@ int frontend_getpid(
strncpy(line, "getyawp\ngetyawi\ngetyawd\n", 24);
break;
case PID_PITCH_RATE :
strncpy(line, "getpitchvp\ngetpitchvi\ngetpitchvd\n", 33);
strncpy(line, "getpitchratep\ngetpitchratei\ngetpitchrated\n", 33);
break;
case PID_ROLL_RATE :
strncpy(line, "getrollvp\ngetrollvi\ngetrollvd\n", 30);
strncpy(line, "getrollratep\ngetrollratei\ngetrollrated\n", 30);
break;
case PID_YAW_RATE :
strncpy(line, "getyawvp\ngetyawvi\ngetyawvd\n", 27);
strncpy(line, "getyawratep\ngetyawratei\ngetyawrated\n", 27);
break;
case PID_HEIGHT :
strncpy(line, "getheightp\ngetheighti\ngetheightd\n", 33);
......
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