Ignore:
Timestamp:
04/16/13 10:12:12 (12 years ago)
Author:
tbretz
Message:
Skip empty reports.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/magiclidar.cc

    r15057 r15351  
    172172                return;
    173173
     174            fLastReport = tm;
     175
     176            if (data.fT3==0 && data.fT6==0 && data.fT9==0 && data.fT12==0)
     177                return;
     178
    174179            ostringstream msg;
    175180            msg << tm.GetAsStr("%H:%M:%S") << ":"
     
    186191
    187192            UpdateLidar(tm, data);
    188 
    189             fLastReport = tm;
    190193        }
    191194        catch (const exception &e)
Note: See TracChangeset for help on using the changeset viewer.