Closed ff07aa closed 1 year ago
Ah, indeed, did not tested to put both the StateVariable and the ResonantFilter in the same sketch. That makes sense. Will commit a fix soon (tonight hopefully). In the meantime, just use only one of them ;)
Hei @ff07aa, A fix has just been merged in the library, please report if the problem persists!
ok
In file included from C:\Users\jibin\Documents\Arduino\helios4_6\helios4_6.ino:108:0: C:\Users\jibin\Documents\Arduino\libraries\Mozzi-master/StateVariable.h:53:6: error: multiple definition of 'enum filter_types' enum filter_types { LOWPASS, BANDPASS, HIGHPASS, NOTCH }; ^
~~~ In file included from C:\Users\jibin\Documents\Arduino\libraries\Mozzi-master/LowPassFilter.h:16:0, from C:\Users\jibin\Documents\Arduino\helios4_6\helios4_6.ino:100: C:\Users\jibin\Documents\Arduino\libraries\Mozzi-master/ResonantFilter.h:71:6: note: previous definition here enum filter_types { LOWPASS, BANDPASS, HIGHPASS, NOTCH }; ^~~~exit status 1
Compilation error: exit status 1