Skip to content

Commit daf56f3

Browse files
author
Tobias Haeckel
committed
added "ReadLine" to App.cpp
1 parent 2f84b85 commit daf56f3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/APPRemoteControl/src/App.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,6 +386,7 @@ bool App::setupSerialMuxProt()
386386
void App::sendLineSensorsData() const
387387
{
388388
ILineSensors& lineSensors = Board::getInstance().getLineSensors();
389+
(void)lineSensors.readLine();
389390
uint8_t maxLineSensors = lineSensors.getNumLineSensors();
390391
const uint16_t* lineSensorValues = lineSensors.getSensorValues();
391392
uint8_t lineSensorIdx = 0U;
@@ -400,7 +401,6 @@ void App::sendLineSensorsData() const
400401
++lineSensorIdx;
401402
}
402403
}
403-
404404
(void)m_smpServer.sendData(m_serialMuxProtChannelIdLineSensors, &payload, sizeof(payload));
405405
}
406406

0 commit comments

Comments
 (0)