diff --git a/include/event_camera_codecs/libcaer_cmp_decoder.h b/include/event_camera_codecs/libcaer_cmp_decoder.h index feca6e2..76594db 100644 --- a/include/event_camera_codecs/libcaer_cmp_decoder.h +++ b/include/event_camera_codecs/libcaer_cmp_decoder.h @@ -208,7 +208,7 @@ class Decoder : public event_camera_codecs::Decoder private: inline timestamp_t makeTime(timestamp_t high, uint16_t low) { - const timestamp_t t = ((high | low) + timeBase_) * timeMult_; + const timestamp_t t = (high | low) * timeMult_ + timeBase_; return (t); }