From 9202afe7cf954270539ff5720b1c0009d8310fc5 Mon Sep 17 00:00:00 2001 From: Josh Stewart Date: Wed, 4 Oct 2017 12:24:40 +1100 Subject: [PATCH] Prevent memory corruption from the page expansion --- reference/speeduino.ini | 2 +- speeduino/globals.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/reference/speeduino.ini b/reference/speeduino.ini index c3fda560..a20d91f0 100644 --- a/reference/speeduino.ini +++ b/reference/speeduino.ini @@ -1008,7 +1008,7 @@ menuDialog = main flatSArm = "The RPM switch point that determines whether an eganged clutch is for launch control or flat shift. Below this figure, an engaged clutch is considered to be for launch, above this figure an active clutch input will be considered a flat shift. This should be set at least several hundred RPM above idle" flatSSoftWin= "The number of RPM below the flat shift point where the softlimit will be applied (aka Soft limit window). Recommended values are 200-1000" flatSRetard = "The absolute timing (BTDC) that will be used when within the soft limit window" - hardCutType = "How hard cuts should be performed for rev/launch limits. Full cut will stop all ignition events, Rolling cut will step through all ignition outputs, only cutting 1 per revolution + hardCutType = "How hard cuts should be performed for rev/launch limits. Full cut will stop all ignition events, Rolling cut will step through all ignition outputs, only cutting 1 per revolution" #if CAN_COMMANDS enable_canbus = "This Enables either the secondary serial port or output via internal Can module. Secondary serial is serial3 on mega2560 processor, and Serial2 on STM32 and Teensy processor " diff --git a/speeduino/globals.h b/speeduino/globals.h index cd9dbed9..f6344993 100644 --- a/speeduino/globals.h +++ b/speeduino/globals.h @@ -389,7 +389,7 @@ struct config1 { byte iacCLmaxDuty; byte boostMinDuty; - byte unused1_64[63]; + byte unused1_64[64]; #if defined(CORE_AVR) }; @@ -453,7 +453,7 @@ struct config2 { byte ignBypassPin : 6; //Pin the ignition bypass is activated on byte ignBypassHiLo : 1; //Whether this should be active high or low. - byte unused2_64[63]; + byte unused2_64[64]; #if defined(CORE_AVR) };