diff --git a/FC_Board/main.py b/FC_Board/main.py index cf68ebc..b75f0e3 100644 --- a/FC_Board/main.py +++ b/FC_Board/main.py @@ -19,8 +19,10 @@ 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() f.beacon() @@ -31,6 +33,7 @@ def initial_boot(): f.listen() c.watchdog_pet() + try: c.c_boot += 1 # Increment boot number debug_print("Boot number: " + str(c.c_boot))