Skip to content

Commit

Permalink
Added (non-mandatory) "emit" keyword to several lines, where a logPar…
Browse files Browse the repository at this point in the history
…ameter signal is triggered. This is cosmetics but makes the intention clearer.
  • Loading branch information
hangeza committed Aug 18, 2021
1 parent 11cdfb5 commit cae8289
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions source/daemon/src/daemon.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2145,9 +2145,9 @@ void Daemon::UBXReceivedVersion(const QString& swString, const QString& hwString
TcpMessage tcpMessage(TCP_MSG_KEY::MSG_UBX_VERSION);
(*tcpMessage.dStream) << swString << hwString << protString;
emit sendTcpMessage(tcpMessage);
logParameter(LogParameter("UBX_SW_Version", swString, LogParameter::LOG_ONCE));
logParameter(LogParameter("UBX_HW_Version", hwString, LogParameter::LOG_ONCE));
logParameter(LogParameter("UBX_Prot_Version", protString, LogParameter::LOG_ONCE));
emit logParameter(LogParameter("UBX_SW_Version", swString, LogParameter::LOG_ONCE));
emit logParameter(LogParameter("UBX_HW_Version", hwString, LogParameter::LOG_ONCE));
emit logParameter(LogParameter("UBX_Prot_Version", protString, LogParameter::LOG_ONCE));
if (initialVersionInfo) {
configGpsForVersion();
qInfo() << "Ublox version: " << hwString << " (fw:" << swString << "prot:" << protString << ")";
Expand Down

0 comments on commit cae8289

Please sign in to comment.