Skip to content

Commit 59b9f1d

Browse files
author
Seppo Takalo
authored
Merge pull request #11014 from SiliconLabs/fix/fpga_tests/adc_methodology
Increase ADC tolerance to 5% in FPGA-based tests
2 parents 0a4e514 + f6a70b2 commit 59b9f1d

File tree

1 file changed

+2
-2
lines changed
  • TESTS/mbed_hal_fpga_ci_test_shield/analogin

1 file changed

+2
-2
lines changed

TESTS/mbed_hal_fpga_ci_test_shield/analogin/main.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ using namespace utest::v1;
3636

3737
#define analogin_debug_printf(...)
3838

39-
#define DELTA_FLOAT 0.03f // 3%
40-
#define DELTA_U16 1965 // 3%
39+
#define DELTA_FLOAT 0.05f // 5%
40+
#define DELTA_U16 3277 // 5%
4141

4242
const PinList *form_factor = pinmap_ff_default_pins();
4343
const PinList *restricted = pinmap_restricted_pins();

0 commit comments

Comments
 (0)