In case the end-user requests auto-clear to be enabled but auto-clear fails to be configured this is now a hard error

next
ko1N 2 years ago
parent 48fdef6204
commit 3c08354d18

@ -136,7 +136,8 @@ impl PciLeech {
{
info!("Successfully enabled status register auto-clear");
} else {
warn!("Could not enable status register auto-clear");
return Err(Error(ErrorOrigin::Connector, ErrorKind::Configuration)
.log_error("Could not enable status register auto-clear due to outdated bitstream."));
}
} else {
return Err(Error(ErrorOrigin::Connector, ErrorKind::Configuration)

Loading…
Cancel
Save