1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
diff --git a/firmware/export/config.h b/firmware/export/config.h
index ef72784..f21c16a 100644
--- a/firmware/export/config.h
+++ b/firmware/export/config.h
@@ -748,6 +748,14 @@ Lyre prototype 1 */
 #define STATICIRAM static
 #endif
 #if (defined(CPU_PP) || (CONFIG_CPU == AS3525)) && !defined(SIMULATOR) && !defined(BOOTLOADER)
+/* Functions that have INIT_ATTR attached are NOT guaranteed to survive after
+ * root_menu() has been called. They may be overwritten by other data or code
+ * in order to save RAM.
+ *
+ * So, make sure this functions are only called before root_menu() is called
+ * (i.e. basically only while main() runs), otherwise things may go wild,
+ * from crashes to freezes to exploding daps
+ */
 #define INIT_ATTR       __attribute__ ((section(".init")))
 #define HAVE_INIT_ATTR
 #else