From 66dc0bf06c466fad804b6795267e278ca3e456bd Mon Sep 17 00:00:00 2001 From: rusefi Date: Thu, 16 Mar 2023 00:26:03 -0400 Subject: [PATCH] +-2% is still acceptable? --- .../src/main/java/com/rusefi/f4discovery/PwmHardwareTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/java_console/autotest/src/main/java/com/rusefi/f4discovery/PwmHardwareTest.java b/java_console/autotest/src/main/java/com/rusefi/f4discovery/PwmHardwareTest.java index 2b90ec94d7..a05f6e0009 100644 --- a/java_console/autotest/src/main/java/com/rusefi/f4discovery/PwmHardwareTest.java +++ b/java_console/autotest/src/main/java/com/rusefi/f4discovery/PwmHardwareTest.java @@ -86,7 +86,7 @@ public class PwmHardwareTest extends RusefiTestBase { sleep(2 * Timeouts.SECOND); - /* +-1% is still acceptable */ - EcuTestHelper.assertSomewhatClose("Idle PWM freq", FREQUENCY, SensorCentral.getInstance().getValue(Sensor.debugIntField1), 0.01); + /* +-2% is still acceptable */ + EcuTestHelper.assertSomewhatClose("Idle PWM freq", FREQUENCY, SensorCentral.getInstance().getValue(Sensor.debugIntField1), 0.02); } } \ No newline at end of file