Home
last modified time | relevance | path

Searched refs:prevEncPos (Results 1 – 1 of 1) sorted by relevance

/device/generic/car/emulator/usbpt/protocan/protocanbus/
DExtraCanClient.cpp108 static std::optional<uint16_t> prevEncPos; in onReceive() local
109 if (prevEncPos.has_value()) { in onReceive()
110 int16_t diff = encPos - *prevEncPos; in onReceive()
117 prevEncPos = encPos; in onReceive()