Skip to content

Commit

Permalink
publish from d162fd3d (gopub)
Browse files Browse the repository at this point in the history
  • Loading branch information
huiqiwa committed Jan 13, 2023
1 parent fb30ae2 commit 5e670f4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cli/src/cli_wrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ int CLIWrapper::printResult(std::ostream &out) {
} else if (comlet->getCommand().compare("updatefw") != 0 &&
comlet->getCommand().compare("config") != 0) {
putenv(const_cast<char *>("_XPUM_INIT_SKIP=FIRMWARE"));
} else {
putenv(const_cast<char *>("_XPUM_INIT_SKIP=AMC"));
}

if (comlet->getCommand().compare("stats") == 0) {
Expand Down
2 changes: 2 additions & 0 deletions core/src/firmware/firmware_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,8 @@ void FirmwareManager::preInitAmcManager() {
}

bool FirmwareManager::initAmcManager() {
if (!p_amc_manager)
return false;
InitParam param;
if (p_amc_manager->init(param))
return true;
Expand Down
Binary file modified docs/.doctrees/environment.pickle
Binary file not shown.

0 comments on commit 5e670f4

Please sign in to comment.