From 576d320fb70f060d4e89569819f4601b26ca5899 Mon Sep 17 00:00:00 2001 From: Narayan <117493082+narayanx@users.noreply.github.com> Date: Tue, 19 Aug 2025 12:11:55 -0700 Subject: [PATCH] added new constant for impl --- include/main.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/include/main.h b/include/main.h index 83dc482..5074467 100644 --- a/include/main.h +++ b/include/main.h @@ -15,8 +15,13 @@ /* Default folder */ #define DEFAULT_DIR "sdmc:/" -/* Maximum number of lines that can be displayed */ +/* Maximum number of lines that can be displayed on bottom screen */ #define MAX_LIST 28 +/* Arbitrary cap for number of stored parent positions in folder to avoid + * unbounded memory consumption. If directories are added exceeding this, + * dequeues path closest to root to make space. + */ +#define MAX_DIRECTORIES 20 struct watchdogInfo {