Skip to content

Commit

Permalink
additional at checks to prevent modem race condition
Browse files Browse the repository at this point in the history
  • Loading branch information
keeramis committed Nov 3, 2021
1 parent b40c60f commit 2f286a9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hal/network/ncp_client/sara/sara_ncp_client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1457,6 +1457,7 @@ int SaraNcpClient::getAppFirmwareVersion() {
}

int SaraNcpClient::initReady(ModemState state) {
CHECK(waitAtResponse(5000));
fwVersion_ = getAppFirmwareVersion();
// L0.0.00.00.05.06,A.02.00 has a memory issue
memoryIssuePresent_ = (ncpId() == PLATFORM_NCP_SARA_R410) ? (fwVersion_ == UBLOX_NCP_R4_APP_FW_VERSION_MEMORY_LEAK_ISSUE) : false;
Expand Down

0 comments on commit 2f286a9

Please sign in to comment.