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-04-25 11:59:48 +0300
committerDavid Crocker <dcrocker@eschertech.com>2022-04-25 11:59:48 +0300
commit02ccc11fe819493d335d50d6500b40d68ebec213 (patch)
tree968f6c5a7c13dc1e7a1bf36f8d1ac201d9785567 /src/Heating
parentc929e2fde6cbdf102c17339ab3f374ed39190186 (diff)
Corrected swap of CAN address and device number in some events
When constructing heater-fault and filament-error events, the CAN address and device number were swapped
Diffstat (limited to 'src/Heating')
-rw-r--r--src/Heating/LocalHeater.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Heating/LocalHeater.cpp b/src/Heating/LocalHeater.cpp
index 45c73d1a..6b077304 100644
--- a/src/Heating/LocalHeater.cpp
+++ b/src/Heating/LocalHeater.cpp
@@ -936,7 +936,7 @@ void LocalHeater::RaiseHeaterFault(HeaterFaultType type, const char *_ecv_array
else
#endif
{
- Event::AddEventV(EventType::heater_fault, (uint16_t)type, GetHeaterNumber(), CanInterface::GetCanAddress(), format, vargs);
+ Event::AddEventV(EventType::heater_fault, (uint16_t)type, CanInterface::GetCanAddress(), GetHeaterNumber(), format, vargs);
}
va_end(vargs);
}