Hi Eric!
Check this out:
https://github.com/softsr/paparazzi/blob/krooz_port/sw/airborne/subsystems/actuators/actuators_mkk.c#L58
Will probably help you.
Regards,
Sergey