mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-09 20:41:14 +00:00
can: Fix reset mode entry and exit calls
This commit fixes multiple bugs caused by incorrect calls to can_enter_reset_mode() and can_exit_reset_mode. Example test scripts also updated to match new runners.
This commit is contained in:
@@ -19,10 +19,10 @@ STR_EXPECT = ("CAN Self Test: Driver installed", "CAN Self Test: Driver uninstal
|
||||
EXPECT_TIMEOUT = 20
|
||||
|
||||
|
||||
@IDF.idf_example_test(env_tag='Example_CAN')
|
||||
@IDF.idf_example_test(env_tag='Example_CAN1')
|
||||
def test_can_self_test_example(env, extra_data):
|
||||
# Get device under test, flash and start example. "dut4" must be defined in EnvConfig
|
||||
dut = env.get_dut('dut4', 'examples/peripherals/can/can_self_test')
|
||||
dut = env.get_dut('dut1', 'examples/peripherals/can/can_self_test')
|
||||
dut.start_app()
|
||||
|
||||
for string in STR_EXPECT:
|
||||
|
Reference in New Issue
Block a user