From f2c1d6c615bd32f35cb8edb19a3ba8b326f20c75 Mon Sep 17 00:00:00 2001 From: Josh Stewart Date: Wed, 13 Feb 2019 10:00:25 +1100 Subject: [PATCH] Fix table size array to account for swapped tables --- speeduino/globals.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/speeduino/globals.h b/speeduino/globals.h index 5efd9316..105095ad 100644 --- a/speeduino/globals.h +++ b/speeduino/globals.h @@ -221,7 +221,8 @@ const char TSfirmwareVersion[] PROGMEM = "Speeduino"; const byte data_structure_version = 2; //This identifies the data structure when reading / writing. //const byte page_size = 64; -const int16_t npage_size[11] PROGMEM = {0,288,128,288,128,288,128,240,192,192,192}; +//const int16_t npage_size[11] PROGMEM = {0,288,128,288,128,288,128,240,192,192,192}; +const int16_t npage_size[11] PROGMEM = {0,128,288,288,128,288,128,240,192,192,192}; //const byte page11_size = 128; #define MAP_PAGE_SIZE 288