mirror of https://github.com/rusefi/wideband.git
save ram
This commit is contained in:
parent
1584b1ff4d
commit
36a2fc0a14
|
@ -16,7 +16,7 @@
|
|||
|
||||
// Rev2 low pass filter cut frequency is about 21Hz (sic!)
|
||||
// 48Mhz / (2 ^ 12) ~= 12 KHz
|
||||
PWMConfig auxPwmConfig = {
|
||||
static const PWMConfig auxPwmConfig = {
|
||||
48'000'000,
|
||||
1 << 12,
|
||||
nullptr,
|
||||
|
|
|
@ -11,7 +11,7 @@ Pwm::Pwm(PWMDriver& driver)
|
|||
|
||||
void Pwm::Start()
|
||||
{
|
||||
PWMConfig config = {
|
||||
static const PWMConfig config = {
|
||||
m_counterFrequency,
|
||||
m_counterPeriod,
|
||||
nullptr,
|
||||
|
|
Loading…
Reference in New Issue