Changeset 6753 in ntrip for trunk/BNC/src/bncgetthread.cpp


Ignore:
Timestamp:
Mar 31, 2015, 4:42:01 PM (7 years ago)
Author:
stuerze
Message:

minor changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/bncgetthread.cpp

    r6751 r6753  
    826826        if (_manualNMEASampl) {
    827827          int dt = _lastManualNMEA.secsTo(QDateTime::currentDateTime());
    828           if (fmod(double(dt), double(_manualNMEASampl)) == 0.0) {
     828          if (dt && (fmod(double(dt), double(_manualNMEASampl)) == 0.0)) {
    829829            _query->sendNMEA(_manualNMEAString);
    830830            _lastManualNMEA = QDateTime::currentDateTime();
Note: See TracChangeset for help on using the changeset viewer.