additional comment for oprator overload

This commit is contained in:
Robin Müller 2020-05-11 19:20:21 +02:00
parent 26103aa8cc
commit 77565c7412

View File

@ -45,6 +45,12 @@ public:
*/
uint8_t opcode;
/**
* @brief Operator overload for the comparison operator to
* allow sorting by polling time.
* @param fixedSequenceSlot
* @return
*/
bool operator <(const FixedSequenceSlot & fixedSequenceSlot) const {
return pollingTimeMs < fixedSequenceSlot.pollingTimeMs;
}