From b17dc5a0dd4e28e87f1173233c7ef9f3b8a2340a Mon Sep 17 00:00:00 2001 From: Harald Barth Date: Thu, 23 May 2024 22:39:43 +0200 Subject: [PATCH 1/3] Bugfix: Opcode AFTEROVERLOAD does not have an argument that is a pin and needs to be initialized --- EXRAIL2.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/EXRAIL2.cpp b/EXRAIL2.cpp index 6980f03..088b79b 100644 --- a/EXRAIL2.cpp +++ b/EXRAIL2.cpp @@ -228,7 +228,6 @@ LookList* RMFT2::LookListLoader(OPCODE op1, OPCODE op2, OPCODE op3) { case OPCODE_AT: case OPCODE_ATTIMEOUT2: case OPCODE_AFTER: - case OPCODE_AFTEROVERLOAD: case OPCODE_IF: case OPCODE_IFNOT: { int16_t pin = (int16_t)operand; From 843fa42692b50570a28dc4eb06c4781379071750 Mon Sep 17 00:00:00 2001 From: Harald Barth Date: Thu, 23 May 2024 22:41:50 +0200 Subject: [PATCH 2/3] Remove inrush throttle after half good time so that we go to mode overload if problem persists --- MotorDriver.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/MotorDriver.cpp b/MotorDriver.cpp index da9d3ee..28fbfa3 100644 --- a/MotorDriver.cpp +++ b/MotorDriver.cpp @@ -638,6 +638,10 @@ void MotorDriver::checkPowerOverload(bool useProgLimit, byte trackno) { } throttleInrush(false); setPower(POWERMODE::ON); + break; + } + if (goodtime > POWER_SAMPLE_ALERT_GOOD/2) { + throttleInrush(false); } break; } From 0c96d4ffc2e1af26b97977b6f575fd4451b407e5 Mon Sep 17 00:00:00 2001 From: Harald Barth Date: Thu, 23 May 2024 22:46:47 +0200 Subject: [PATCH 3/3] version 5.2.60 --- GITHUB_SHA.h | 2 +- version.h | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/GITHUB_SHA.h b/GITHUB_SHA.h index 8fd0549..4807e45 100644 --- a/GITHUB_SHA.h +++ b/GITHUB_SHA.h @@ -1 +1 @@ -#define GITHUB_SHA "devel-202404091507Z" +#define GITHUB_SHA "devel-202405232026Z" diff --git a/version.h b/version.h index 2079a1e..ddbcfac 100644 --- a/version.h +++ b/version.h @@ -3,7 +3,9 @@ #include "StringFormatter.h" -#define VERSION "5.2.59" +#define VERSION "5.2.60" +// 5.2.60 - Bugfix: Opcode AFTEROVERLOAD does not have an argument that is a pin and needs to be initialized +// - Remove inrush throttle after half good time so that we go to mode overload if problem persists // 5.2.59 - STM32 bugfix correct Serial1 definition for Nucleo-F401RE // - STM32 add support for ARDUINO_NUCLEO_F4X9ZI type to span F429/F439 in upcoming STM32duino release v2.8 as a result of our PR // 5.2.58 - EXRAIL ALIAS allows named pins