We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2f84b85 commit daf56f3Copy full SHA for daf56f3
1 file changed
lib/APPRemoteControl/src/App.cpp
@@ -386,6 +386,7 @@ bool App::setupSerialMuxProt()
386
void App::sendLineSensorsData() const
387
{
388
ILineSensors& lineSensors = Board::getInstance().getLineSensors();
389
+ (void)lineSensors.readLine();
390
uint8_t maxLineSensors = lineSensors.getNumLineSensors();
391
const uint16_t* lineSensorValues = lineSensors.getSensorValues();
392
uint8_t lineSensorIdx = 0U;
@@ -400,7 +401,6 @@ void App::sendLineSensorsData() const
400
401
++lineSensorIdx;
402
}
403
-
404
(void)m_smpServer.sendData(m_serialMuxProtChannelIdLineSensors, &payload, sizeof(payload));
405
406
0 commit comments