Skip to content

Commit

Permalink
Got rid of a warning that travis was complaining about
Browse files Browse the repository at this point in the history
  • Loading branch information
GenoJAFord committed Jun 17, 2020
1 parent af97046 commit 98a7b29
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/diagnostics.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ static void receiveCanMessage(DiagnosticsManager* manager,
if (originalStitchAlgo) {
relayPartialFrame(manager, entry, &response, pipeline);
} else {
relayDiagnosticResponse(manager, entry, &response, pipeline, TRUE); // Added 6/11/2020
relayDiagnosticResponse(manager, entry, &response, pipeline, true); // Added 6/11/2020
}
#endif
if (!response.completed) {
Expand All @@ -526,13 +526,13 @@ static void receiveCanMessage(DiagnosticsManager* manager,
#if (MULTIFRAME == 0)
// This is the pre 2020 Way of sending a Diagnostic Response
// (all at once)
relayDiagnosticResponse(manager, entry, &response, pipeline, FALSE);
relayDiagnosticResponse(manager, entry, &response, pipeline, false);
#endif
}
} else if (response.completed && entry->handle.completed) {
if(entry->handle.success) {
// Handle Single frame messages here!
relayDiagnosticResponse(manager, entry, &response, pipeline, FALSE);
relayDiagnosticResponse(manager, entry, &response, pipeline, false);
} else {
debug("Fatal error sending or receiving diagnostic request");
}
Expand Down

0 comments on commit 98a7b29

Please sign in to comment.