better printout
This commit is contained in:
parent
befe7ec441
commit
fecaad7af7
@ -89,6 +89,9 @@ int obsw::obsw(int argc, char* argv[]) {
|
||||
void obsw::autoSwitchHandling() {
|
||||
std::string autoSwitchTarget;
|
||||
auto switchToTarget = [](xsc_libnor_chip_t chip, xsc_libnor_copy_t copy) {
|
||||
sif::debug << "Detected ASWI=" << autoSwitchTarget
|
||||
<< "in ProASIC scratch buffer, auto-switching to image " << int(chip) << " "
|
||||
<< int(copy) << std::endl;
|
||||
scratch::clearValue(scratch::AUTO_SWITCH_IMAGE);
|
||||
xsc_boot_copy(chip, copy);
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user