Moderator: lukasz
void control_init()
{
int i;
//ppm_in_open(); MOVED TO MAIN
// Manual trim mode: the servo's neutral settings are defined by the RC-transmitters trim settings. See wiki.
if (1/*config.control.manual_trim*/)
{
for (i = 0; i < 6; i++)
config.control.servo_neutral[i] = 1500;
// The current position of the sticks on the RC-transmitter are
// saved as the neutral values
vTaskDelay( 500 );
for (i = 0; i < 8; i++)
config.control.channel_neutral[i] = ppm.channel[i];
Users browsing this forum: No registered users and 7 guests