From d008b0f8c3f0638ac73b0bb42a88202d46049528 Mon Sep 17 00:00:00 2001 From: Matthew Kennedy Date: Wed, 20 Oct 2021 12:19:48 -0700 Subject: [PATCH] static (#3381) --- firmware/controllers/algo/defaults/default_fuel.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/firmware/controllers/algo/defaults/default_fuel.cpp b/firmware/controllers/algo/defaults/default_fuel.cpp index 9e3b4035ea..1ac23a672e 100644 --- a/firmware/controllers/algo/defaults/default_fuel.cpp +++ b/firmware/controllers/algo/defaults/default_fuel.cpp @@ -163,12 +163,12 @@ static void setMazdaMiataNbTpsTps(DECLARE_CONFIG_PARAMETER_SIGNATURE) { } static void setDefaultLambdaTable(DECLARE_CONFIG_PARAMETER_SIGNATURE) { - constexpr float mapBins[] = { + static constexpr float mapBins[] = { 30, 40, 50, 60, 70, 80, 90, 100, 110, 120, 130, 150, 175, 200, 225, 250 }; copyArray(config->lambdaLoadBins, mapBins); - constexpr float rowValues[] = { + static constexpr float rowValues[] = { 1, 1, 1, 1, // 30, 40, 50, 60 kpa 1, 0.95, 0.92, 0.90, // 70, 80, 90, 100 kpa 0.89, 0.88, 0.86, 0.84, // 110, 120, 130, 150 kpa