Skip to content

Commit

Permalink
Corrected RepRap::LogDebugMessage
Browse files Browse the repository at this point in the history
  • Loading branch information
dc42 committed Oct 29, 2024
1 parent d09b48a commit 0423178
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Platform/RepRap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2825,7 +2825,7 @@ void RepRap::LogDebugMessage(const char *_ecv_array msg, uint32_t data0, uint32_
// Print it to debug if enabled
if (Debug(Module::Debug))
{
debugPrintf(msg, data0, data1, data2, data3);
debugPrintf(msg, data0, data1, data2, data3, data4, data5);
delay(50); // make sure the message has a chance to get printed, assuming this isn't called from the task that does the printing
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/Platform/RepRap.h
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ template <size_t NumWords> bool MemoryWatcher<NumWords>::Check(uint32_t tag) noe
}
}

// If we found a difference, test whether the protected memory or the copy got changed. If t was the protected memory, restore it from the copy.
// If we found a difference, test whether the protected memory or the copy got changed. If it was the protected memory, restore it from the copy.
if (badOffset >= 0 || csumProtected != checkSum || csumCopy != checkSum)
{
const bool fix = (csumProtected != checkSum && csumCopy == checkSum);
Expand Down

0 comments on commit 0423178

Please sign in to comment.