This commit is contained in:
Matthew Kennedy 2022-12-01 15:52:03 -08:00
parent 1584b1ff4d
commit 36a2fc0a14
2 changed files with 2 additions and 2 deletions

View File

@ -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,

View File

@ -11,7 +11,7 @@ Pwm::Pwm(PWMDriver& driver)
void Pwm::Start()
{
PWMConfig config = {
static const PWMConfig config = {
m_counterFrequency,
m_counterPeriod,
nullptr,