diff --git a/config_comred.cmake b/config_comred.cmake index 42905ed..a9e0d1f 100644 --- a/config_comred.cmake +++ b/config_comred.cmake @@ -87,4 +87,5 @@ set(BOBBYCAR_BUILDFLAGS -DFEATURE_LEDSTRIP -DPINS_LEDSTRIP=33 -DLEDSTRIP_LENGTH=121 + -DHEAP_LRGST_CRASH ) diff --git a/main/displays/menus/aboutmenu.h b/main/displays/menus/aboutmenu.h index 78b6b77..faacd5f 100644 --- a/main/displays/menus/aboutmenu.h +++ b/main/displays/menus/aboutmenu.h @@ -31,11 +31,15 @@ public: constructMenuItem, DisabledColor, DummyAction>>(); constructMenuItem, DisabledColor, DummyAction>>(); constructMenuItem, DisabledColor, DummyAction>>(); + #ifndef HEAP_LRGST_CRASH constructMenuItem, DisabledColor, DummyAction>>(); +#endif constructMenuItem, DisabledColor, DummyAction>>(); constructMenuItem, DisabledColor, DummyAction>>(); constructMenuItem, DisabledColor, DummyAction>>(); + #ifndef HEAP_LRGST_CRASH constructMenuItem, DisabledColor, DummyAction>>(); +#endif constructMenuItem, DisabledColor, DummyAction>>(); constructMenuItem, DisabledColor, DummyAction>>(); constructMenuItem, DisabledColor, DummyAction>>();