From 1584b1ff4d174e7083d0f2b2e480250a2733d03a Mon Sep 17 00:00:00 2001 From: Matthew Kennedy Date: Thu, 1 Dec 2022 15:51:21 -0800 Subject: [PATCH] save ram --- firmware/heater_control.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/heater_control.cpp b/firmware/heater_control.cpp index 619b13c..b97d923 100644 --- a/firmware/heater_control.cpp +++ b/firmware/heater_control.cpp @@ -14,7 +14,7 @@ using namespace wbo; // 400khz / 1024 = 390hz PWM static Pwm heaterPwm(HEATER_PWM_DEVICE); -PWMConfig heaterPwmConfig = { +static const PWMConfig heaterPwmConfig = { 400'000, 1024, nullptr,