Subversion Repositories NaviCtrl

Compare Revisions

Ignore whitespace Rev 484 → Rev 485

/trunk/logging.c
397,9 → 397,10
{
if(ErrorCode != old_errorcode || CheckDelay(flushtimer))
{
old_errorcode = ErrorCode;
flushtimer = SetDelay(LOG_FLUSH_INTERVAL);
if(ErrorCode != old_errorcode) flushtimer = SetDelay(1000);
else flushtimer = SetDelay(LOG_FLUSH_INTERVAL);
fflush_(logfile.file);
old_errorcode = ErrorCode;
}
}
}
/trunk/main.c
492,6 → 492,7
// Analog_Update(); // get new ADC values
if(PollingTimeout == 0)
{
PollingTimeout = 5;
// if(Polling() == 0) DebugOut.Analog[16]++;
Polling();
}
/trunk/settings.c
93,7 → 93,7
{PID_WP_ACCELERATE , "WAYPOINT DYNAMIC\0" ,"dynamic for flying waypoints in percent (0-200) ", 1, 100, 100, 0, 255}, // in percent or Poti
{PID_WP_WAIT_FOR_LED , "WAIT_FOR_OUT1 \0" ,"Wait on Waypoint until Out-Pattern is finished (1=on 0=off) ", 1, 1, 1, 0, 1},
{PID_SEND_NMEA , "NMEA_INTERVAL \0" ,"NMEA Output interval in ms (0 = disabled) ", 1, 0, 0, 0, 60000},
{PID_CH_SPEED , "COMINGHOME_SPEED\0" ,"Speed for coming home in 0,1m/sec (70 = 7,0 m/sec) ", 1, 70, 70, 10, 150},
{PID_CH_SPEED , "COMINGHOME_SPEED\0" ,"Speed for coming home in 0,1m/sec (80 = 8,0 m/sec) ", 1, 80, 80, 10, 150},
{PID_GPS_AUTOCONFIG , "GPSAUTOCONFIG \0" ,"GPS configmode (0 = off, 1 = on) ", 1, 1, 1, 0, 1}
};
 
/trunk/spi_slave.c
823,7 → 823,7
// if we got it
if (FC_Version.Major != 0xFF)
{
sprintf(msg, " FC V%d.%d%c HW:%d.%d", FC_Version.Major, FC_Version.Minor, 'a'+FC_Version.Patch, FC_Version.Hardware/10,FC_Version.Hardware%10);
sprintf(msg, " FC V%d.%2d%c HW:%d.%d", FC_Version.Major, FC_Version.Minor, 'a'+FC_Version.Patch, FC_Version.Hardware/10,FC_Version.Hardware%10);
UART1_PutString(msg);
}
else UART1_PutString("\n\r not found!");