WIP: Start impl auto switch feature #811
@ -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);
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user