mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-04 14:07:30 +00:00
Bugfixes
- Firmware update device reattachment - Disconnect/connect with multiple devices - udev rule extended
This commit is contained in:
parent
2d44201de7
commit
44124bc09e
14 changed files with 90 additions and 66 deletions
|
|
@ -117,7 +117,9 @@ void FPGA::SetSamplesPerPoint(uint32_t nsamples) {
|
|||
// register is in multiples of 128
|
||||
nsamples /= 128;
|
||||
// constrain to maximum value
|
||||
nsamples &= 0x03FF;
|
||||
if(nsamples >= 1024) {
|
||||
nsamples = 1023;
|
||||
}
|
||||
WriteRegister(Reg::SamplesPerPoint, nsamples);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue