From c72811097a56376c415a5319201ba0a8d325b3c6 Mon Sep 17 00:00:00 2001 From: RiccardoBorghesi <11445033+RiccardoBorghesi@users.noreply.github.com> Date: Thu, 1 Feb 2024 14:47:06 +0100 Subject: [PATCH] PiPoFft: fixed crash adding init of colnames with wrong outputmode --- modules/PiPoFft.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/PiPoFft.h b/modules/PiPoFft.h index 3ae48cc..503f428 100644 --- a/modules/PiPoFft.h +++ b/modules/PiPoFft.h @@ -235,6 +235,12 @@ class PiPoFft : public PiPo outputWidth = 1; break; } + default: + { + fftColNames[0] = "undefined"; + fftColNames[1] = "undefined"; + outputWidth = 0; + } } if(fftSize != this->fftSize || weightingMode != this->weightingMode)