MCPcopy Create free account
hub / github.com/ON4QZ/QSSTV / switchProcessState

Method switchProcessState

src/sstv/syncprocessor.cpp:1145–1153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1143}
1144
1145void syncProcessor::switchProcessState(esyncProcessState newState)
1146{
1147 addToLog(QString("syncProcessState %1 to %2").arg(stateStr[syncProcesState]).arg(stateStr[newState]),LOGSYNCPROCESSSTATE);
1148 if((newState==SYNCLOSTFALSESYNC) || (newState==SYNCLOSTNEWMODE)||(newState==SYNCLOSTMISSINGLINES) || (newState==SYNCLOST))
1149 {
1150 newState=SYNCLOST;
1151 }
1152 syncProcesState=newState;
1153}
1154
1155#ifndef QT_NO_DEBUG
1156void syncProcessor::setOffset(unsigned int dataScopeOffset)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected