1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2025-04-14 23:48:56 -04:00

Corrected 8 bit decimator pre process shift constants

This commit is contained in:
f4exb 2018-01-14 04:43:04 +01:00
parent 34f6b796b7
commit 176792c0ce

View File

@ -83,18 +83,18 @@ struct decimation_shifts<16, 12>
template<>
struct decimation_shifts<16, 8>
{
static const uint pre1 = 6;
static const uint pre2 = 5;
static const uint pre1 = 8;
static const uint pre2 = 7;
static const uint post2 = 0;
static const uint pre4 = 4;
static const uint pre4 = 6;
static const uint post4 = 0;
static const uint pre8 = 3;
static const uint pre8 = 5;
static const uint post8 = 0;
static const uint pre16 = 2;
static const uint pre16 = 4;
static const uint post16 = 0;
static const uint pre32 = 1;
static const uint pre32 = 3;
static const uint post32 = 0;
static const uint pre64 = 0;
static const uint pre64 = 2;
static const uint post64 = 0;
};