From dc1840313f8bb8a4f9c1b20d2261beeaee467a6d Mon Sep 17 00:00:00 2001 From: Brandon Sutherland Date: Thu, 4 Jan 2024 11:02:36 -0700 Subject: [PATCH] Removed todo from main Initially had thought using extern was unnecessary, but due to how ST's code is structured it may be necessary. --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 047740ea..d3b69d73 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -41,7 +41,7 @@ // Select which board implementation to include based on cmake variable #ifdef BUILD_VARMINT_BOARD #include -extern Varmint varmint; // TODO: Eliminate global variable +extern Varmint varmint; #endif #ifndef BUILD_TEST_BOARD // Skip main function for gtest