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

Method setFrameStartSequence

app/src/DataModel/ProjectModel.cpp:2260–2272  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

2258 * @brief Sets the frame start delimiter sequence.
2259 */
2260void DataModel::ProjectModel::setFrameStartSequence(const QString& sequence)
2261{
2262 if (m_frameStartSequence == sequence)
2263 return;
2264
2265 m_frameStartSequence = sequence;
2266
2267 if (!m_sources.empty())
2268 m_sources[0].frameStart = sequence;
2269
2270 Q_EMIT frameDetectionChanged();
2271 setModified(true);
2272}
2273
2274/**
2275 * @brief Sets the frame end delimiter sequence.

Callers 1

frameParserConfigureMethod · 0.80

Calls 1

emptyMethod · 0.80

Tested by

no test coverage detected