tiny tweak
EIVE/eive-obsw/pipeline/pr-main This commit looks good Details

This commit is contained in:
Robin Müller 2023-10-19 15:24:52 +02:00
parent f0ade7274a
commit 18bcb434e9
Signed by: muellerr
GPG Key ID: A649FB78196E3849
1 changed files with 1 additions and 1 deletions

View File

@ -92,9 +92,9 @@ void obsw::autoSwitchHandling() {
sif::warning << "Detected ASWI=" << autoSwitchTarget
<< " in ProASIC scratch buffer, auto-switching to image " << int(chip) << " "
<< int(copy) << std::endl;
scratch::clearValue(scratch::AUTO_SWITCH_IMAGE);
// A bit of delay to ensure printout works..
TaskFactory::delayTask(500);
scratch::clearValue(scratch::AUTO_SWITCH_IMAGE);
xsc_boot_copy(chip, copy);
};
if (scratch::readString(scratch::AUTO_SWITCH_IMAGE, autoSwitchTarget) == returnvalue::OK) {