Skip to content
Snippets Groups Projects
Commit d8d10834 authored by Alberto Nidasio's avatar Alberto Nidasio
Browse files

[ADS131] Fixed TEST_SIGNAL_FACTOR constant value

parent cd6cabce
Branches
No related tags found
No related merge requests found
......@@ -43,7 +43,7 @@ constexpr float PGA_LSB_SIZE[8] = {143.0511e-9, 71.5256e-9, 35.7628e-9,
2.2352e-9, 1.1176e-9};
static constexpr float V_REF = 1.2;
static constexpr float TEST_SIGNAL_FACTOR = 2 / 15;
static constexpr float TEST_SIGNAL_FACTOR = 2.0 / 15.0;
static constexpr float TEST_SIGNAL_SLACK = 0.1; // Not defined in DS
/**
......
......@@ -43,7 +43,7 @@ constexpr float PGA_LSB_SIZE[8] = {143.0511e-9, 71.5256e-9, 35.7628e-9,
2.2352e-9, 1.1176e-9};
static constexpr float V_REF = 1.2;
static constexpr float TEST_SIGNAL_FACTOR = 2 / 15;
static constexpr float TEST_SIGNAL_FACTOR = 2.0 / 15.0;
static constexpr float TEST_SIGNAL_SLACK = 0.1; // Not defined in DS
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment