mirror of
https://github.com/intrepidcs/libicsneo.git
synced 2026-08-05 01:18:36 +02:00
Correctly decode timestamps on the RADStar2 and RADGalaxy
This commit is contained in:
@@ -58,6 +58,10 @@ protected:
|
||||
packetizer->disableChecksum = true;
|
||||
packetizer->align16bit = false;
|
||||
}
|
||||
|
||||
virtual void setupDecoder(Decoder* decoder) override {
|
||||
decoder->timestampMultiplier = 10; // Timestamps are in 10ns increments instead of the usual 25ns
|
||||
}
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -21,6 +21,11 @@ public:
|
||||
return found;
|
||||
}
|
||||
|
||||
protected:
|
||||
virtual void setupDecoder(Decoder* decoder) override {
|
||||
decoder->timestampMultiplier = 10; // Timestamps are in 10ns increments instead of the usual 25ns
|
||||
}
|
||||
|
||||
private:
|
||||
RADSupermoon(neodevice_t neodevice) : Device(neodevice) {
|
||||
initialize<FTDI>();
|
||||
|
||||
Reference in New Issue
Block a user