Correctly decode timestamps on the RADStar2 and RADGalaxy

This commit is contained in:
Paul Hollinsky
2018-12-21 20:34:02 -05:00
parent d37d5bb23e
commit b6c67eb74f
3 changed files with 14 additions and 0 deletions
@@ -20,6 +20,11 @@ protected:
packetizer->align16bit = false;
}
virtual void setupDecoder(Decoder* decoder) override {
Device::setupDecoder(decoder);
decoder->timestampMultiplier = 10; // Timestamps are in 10ns increments instead of the usual 25ns
}
RADStar2(neodevice_t neodevice) : Device(neodevice) {
getWritableNeoDevice().type = DEVICE_TYPE;
productId = PRODUCT_ID;