Skip to content

Commit

Permalink
Move functions instantiation
Browse files Browse the repository at this point in the history
  • Loading branch information
Lex-ari committed Nov 19, 2024
1 parent 578c42c commit 9b5fb57
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions FC_Board/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand All @@ -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))
Expand Down

0 comments on commit 9b5fb57

Please sign in to comment.