Rev 78 | Rev 82 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 78 | Rev 79 | ||
---|---|---|---|
Line 347... | Line 347... | ||
347 | switch(logfilestate) |
347 | switch(logfilestate) |
348 | { |
348 | { |
349 | case LOGFILE_IDLE: |
349 | case LOGFILE_IDLE: |
350 | case LOGFILE_CLOSED: |
350 | case LOGFILE_CLOSED: |
351 | if((GPSData.Status != INVALID) && (GPSData.Flags & FLAG_GPSFIXOK) && (GPSData.SatFix == SATFIX_3D) && (FC.MKFlags & MKFLAG_FLY)) |
351 | if((GPSData.Status != INVALID) && (GPSData.Flags & FLAG_GPSFIXOK) && (GPSData.SatFix == SATFIX_3D) && (FC.MKFlags & MKFLAG_FLY)) |
- | 352 | { |
|
352 | logfilestate = LOGFILE_START; |
353 | logfilestate = LOGFILE_START; |
- | 354 | } |
|
353 | break; |
355 | break; |
354 | case LOGFILE_START: |
356 | case LOGFILE_START: |
355 | // find unused logfile name |
357 | // find unused logfile name |
356 | do |
358 | do |
357 | { // try to generate a new logfile name |
359 | { // try to generate a new logfile name |