diff options
Diffstat (limited to 'src/Heating/Heat.cpp')
-rw-r--r-- | src/Heating/Heat.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Heating/Heat.cpp b/src/Heating/Heat.cpp index 2b2f361b..206e87e4 100644 --- a/src/Heating/Heat.cpp +++ b/src/Heating/Heat.cpp @@ -1418,10 +1418,10 @@ GCodeResult Heat::ConfigureHeater(const CanMessageGeneric& msg, const StringRef& return h->ReportDetails(reply); } -GCodeResult Heat::ProcessM307New(const CanMessageUpdateHeaterModelNew& msg, const StringRef& reply) noexcept +GCodeResult Heat::ProcessM307New(const CanMessageHeaterModelNewNew& msg, const StringRef& reply) noexcept { const auto h = FindHeater(msg.heater); - return (h.IsNotNull()) ? h->SetOrReportModelNew(msg.heater, msg, reply) : UnknownHeater(msg.heater, reply); + return (h.IsNotNull()) ? h->SetModel(msg.heater, msg, reply) : UnknownHeater(msg.heater, reply); } GCodeResult Heat::SetTemperature(const CanMessageSetHeaterTemperature& msg, const StringRef& reply) noexcept |