Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Duet3D/RepRapFirmware.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Crocker <dcrocker@eschertech.com>2022-08-12 16:19:36 +0300
committerDavid Crocker <dcrocker@eschertech.com>2022-08-12 16:19:36 +0300
commit823f8420e32cedcf8d1e86f9952b49eceb553212 (patch)
tree59bec62c1ad18c143cbf67772fb5b0c8481a007f
parent7a8bc96e5f69739b2ff0ef74ec7248490dbb9b61 (diff)
Don't flash the ACT LED when a regular status messages is processed
-rw-r--r--src/CAN/CommandProcessor.cpp7
-rw-r--r--src/Version.h2
2 files changed, 7 insertions, 2 deletions
diff --git a/src/CAN/CommandProcessor.cpp b/src/CAN/CommandProcessor.cpp
index 7751f892..adba4782 100644
--- a/src/CAN/CommandProcessor.cpp
+++ b/src/CAN/CommandProcessor.cpp
@@ -422,7 +422,12 @@ void CommandProcessor::ProcessReceivedMessage(CanMessageBuffer *buf) noexcept
{
if (buf->id.Src() != CanInterface::GetCanAddress()) // I don't think we should receive our own broadcasts, but in case we do...
{
- if (buf->id.Dst() != CanId::BroadcastAddress)
+ if ( buf->id.Dst() != CanId::BroadcastAddress
+ && buf->id.MsgType() != CanMessageType::fanTachoReport // don't flash whenever we receive a regular status message
+ && buf->id.MsgType() != CanMessageType::heatersStatusReport
+ && buf->id.MsgType() != CanMessageType::boardStatusReport
+ && buf->id.MsgType() != CanMessageType::driversStatusReport
+ )
{
reprap.GetPlatform().OnProcessingCanMessage();
}
diff --git a/src/Version.h b/src/Version.h
index 02e7dc30..a174fe63 100644
--- a/src/Version.h
+++ b/src/Version.h
@@ -10,7 +10,7 @@
#ifndef VERSION
// Note: the complete VERSION string must be in standard version number format and must not contain spaces! This is so that DWC can parse it.
-# define MAIN_VERSION "3.4.2rc2"
+# define MAIN_VERSION "3.4.2rc2+"
# ifdef USE_CAN0
# define VERSION_SUFFIX "(CAN0)"
# else