MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / setFrameEndSequence

Method setFrameEndSequence

app/src/DataModel/ProjectModel.cpp:2277–2289  ·  view source on GitHub ↗

* @brief Sets the frame end delimiter sequence. */

Source from the content-addressed store, hash-verified

2275 * @brief Sets the frame end delimiter sequence.
2276 */
2277void DataModel::ProjectModel::setFrameEndSequence(const QString& sequence)
2278{
2279 if (m_frameEndSequence == sequence)
2280 return;
2281
2282 m_frameEndSequence = sequence;
2283
2284 if (!m_sources.empty())
2285 m_sources[0].frameEnd = sequence;
2286
2287 Q_EMIT frameDetectionChanged();
2288 setModified(true);
2289}
2290
2291/**
2292 * @brief Sets the checksum algorithm name.

Callers 1

frameParserConfigureMethod · 0.80

Calls 1

emptyMethod · 0.80

Tested by

no test coverage detected