diff --git a/firmware/controllers/lua/can_filter.cpp b/firmware/controllers/lua/can_filter.cpp index 125fb78212..2970fba75a 100644 --- a/firmware/controllers/lua/can_filter.cpp +++ b/firmware/controllers/lua/can_filter.cpp @@ -3,8 +3,8 @@ static constexpr size_t maxFilterCount = 48; -size_t filterCount = 0; -CanFilter filters[maxFilterCount]; +static size_t filterCount = 0; +static CanFilter filters[maxFilterCount]; CanFilter* getFilterForId(size_t busIndex, int Id) { for (size_t i = 0; i < filterCount; i++) {