Skip to content

Commit

Permalink
tests/ports/psoc6: Fix prints.
Browse files Browse the repository at this point in the history
Signed-off-by: NikhitaR-IFX <[email protected]>
  • Loading branch information
NikhitaR-IFX committed Aug 9, 2024
1 parent 4b7001b commit 07404a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/ports/psoc6/test_scripts/wdt_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def wdt_reset_check():
device = sys.argv[1]
wdt = "ports/psoc6/wdt.py"
mpr_cmd = f"../tools/mpremote/mpremote.py connect {device} run {wdt}"
mpr_run_resume = f"../tools/mpremote/mpremote.py resume exec \"import psoc6; print('False' if psoc6.system_reset_cause() != 1 else ' ')\""
mpr_run_resume = f"../tools/mpremote/mpremote.py resume exec \"import psoc6; print(psoc6.system_reset_cause() if psoc6.system_reset_cause() != 1 else ' ')\""

wdt_op_fp = "./ports/psoc6/test_scripts/wdt.py.out"
wdt_reset_check_op_fp = "./ports/psoc6/test_scripts/wdt_reset_check.py.out"
Expand Down

0 comments on commit 07404a7

Please sign in to comment.