delay
Some checks failed
EIVE/eive-obsw/pipeline/pr-main There was a failure building this commit

This commit is contained in:
Robin Müller 2023-10-19 15:18:39 +02:00
parent fecaad7af7
commit 674202c6fb
Signed by: muellerr
GPG Key ID: A649FB78196E3849

View File

@ -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);
};