From 674202c6fb61df531b08f6cc28f07a67cbd2fb5d Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Thu, 19 Oct 2023 15:18:39 +0200 Subject: [PATCH] delay --- bsp_q7s/obsw.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bsp_q7s/obsw.cpp b/bsp_q7s/obsw.cpp index d32579b4..77ac13c4 100644 --- a/bsp_q7s/obsw.cpp +++ b/bsp_q7s/obsw.cpp @@ -92,6 +92,8 @@ void obsw::autoSwitchHandling() { sif::debug << "Detected ASWI=" << autoSwitchTarget << "in ProASIC scratch buffer, auto-switching to image " << int(chip) << " " << int(copy) << std::endl; + // A bit of delay to ensure printout works.. + TaskFactory::delayTask(500); scratch::clearValue(scratch::AUTO_SWITCH_IMAGE); xsc_boot_copy(chip, copy); };