This commit is contained in:
iceman1001 2023-02-11 11:42:58 +01:00
commit 08d2c2f1a5
3 changed files with 754 additions and 755 deletions

View file

@ -370,8 +370,7 @@ uint32_t DoAcquisition(uint8_t decimation, uint8_t bits_per_sample, bool avg, in
}
// Ensure that DC offset removal and noise check is performed for any device-side processing
if (bits_per_sample == 8)
{
if (bits_per_sample == 8) {
// these functions only consider bps==8
removeSignalOffset(data.buffer, samples.total_saved);
computeSignalProperties(data.buffer, samples.total_saved);