From 07bffe9069fd09fcd75cb802758708d9f307ae1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9a=20Saviot?= Date: Fri, 10 Nov 2017 16:07:56 +0100 Subject: [PATCH] [code] Increased memory allocated for scripts to 4096. Change-Id: Ida0c3190e4aa21a2e373bf3d1561a97006c84e4b --- apps/code/script_store.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/code/script_store.h b/apps/code/script_store.h index 38ed5cf77..567a67c89 100644 --- a/apps/code/script_store.h +++ b/apps/code/script_store.h @@ -33,7 +33,7 @@ public: const char * contentOfScript(const char * name) override; private: - static constexpr size_t k_scriptDataSize = 1024; + static constexpr size_t k_scriptDataSize = 4096; bool addScriptFromTemplate(const ScriptTemplate * scriptTemplate); bool copyStaticScriptOnFreeSpace(const ScriptTemplate * scriptTemplate); int accordionIndexOfScriptAtIndex(int index) const;