Skip to content

Commit

Permalink
Fix LI addr receive error.
Browse files Browse the repository at this point in the history
  • Loading branch information
horacekj committed Apr 25, 2020
1 parent be98117 commit 40b2aab
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions xn-receive.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,7 @@ void XpressNet::handleMsgLiVersion(MsgType &msg) {
const auto &hist = dynamic_cast<const CmdGetLIVersion &>(*cmd);
if (hist.callback != nullptr)
hist.callback(this, hw, sw);
}

if (!m_hist.empty() && is<CmdGetLIAddress>(m_hist.front())) {
} else if (!m_hist.empty() && is<CmdGetLIAddress>(m_hist.front())) {
// Report NanoX error faster
hist_err();
}
Expand Down

0 comments on commit 40b2aab

Please sign in to comment.