Rev 436 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 436 | Rev 438 | ||
---|---|---|---|
Line 390... | Line 390... | ||
390 | // initialize logging |
390 | // initialize logging |
391 | void Logging_Init(void) |
391 | void Logging_Init(void) |
392 | { |
392 | { |
393 | LogCfg.KML_Interval = 500; //default |
393 | LogCfg.KML_Interval = 500; //default |
394 | Settings_GetParamValue(PID_KML_LOGGING, &(LogCfg.KML_Interval)); // overwrite by settings value |
394 | Settings_GetParamValue(PID_KML_LOGGING, &(LogCfg.KML_Interval)); // overwrite by settings value |
395 | printf("\r\nKML Interval = %d", LogCfg.KML_Interval); |
395 | Logging_KML(0); // initialize |
396 | LogCfg.GPX_Interval = 1000; //default |
396 | LogCfg.GPX_Interval = 1000; //default |
397 | Settings_GetParamValue(PID_GPX_LOGGING, &(LogCfg.GPX_Interval)); // overwrite by settings value |
397 | Settings_GetParamValue(PID_GPX_LOGGING, &(LogCfg.GPX_Interval)); // overwrite by settings value |
398 | Logging_GPX(0); // initialize |
398 | Logging_GPX(0); // initialize |
399 | } |
399 | } |