The segment mode (activated with scope.adc.fifo_fill_mode = "segment") keeps warning about (sample-1) not being divisible by 3 (warning in _OpenADCInterface.py, line 1574) even if sample-1 is divisible by 3. In fact, the modulo to check for rounding lack some parentheses.
This commit and PR fixes it :)
The segment mode (activated with
scope.adc.fifo_fill_mode = "segment"
) keeps warning about (sample-1) not being divisible by 3 (warning in_OpenADCInterface.py
, line 1574) even if sample-1 is divisible by 3. In fact, the modulo to check for rounding lack some parentheses. This commit and PR fixes it :)