From 9b5fb5763088900a5f54084642c17b45b8d4f851 Mon Sep 17 00:00:00 2001 From: Alex Mariano Date: Mon, 18 Nov 2024 17:23:20 -0800 Subject: [PATCH] Move functions instantiation --- FC_Board/main.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/FC_Board/main.py b/FC_Board/main.py index 513bebd..cf68ebc 100644 --- a/FC_Board/main.py +++ b/FC_Board/main.py @@ -19,6 +19,7 @@ def debug_print(statement): if c.debug: print(co(str(c.uptime) + "[MAIN]" + str(statement), "blue", "bold")) +f = functions.functions(c) def initial_boot(): c.watchdog_pet() @@ -30,10 +31,6 @@ def initial_boot(): f.listen() c.watchdog_pet() - -f = functions.functions(c) - - try: c.c_boot += 1 # Increment boot number debug_print("Boot number: " + str(c.c_boot))