mirror of
https://github.com/jhbruhn/eurorack.git
synced 2025-03-15 02:55:49 +00:00
Remove unused math import
This commit is contained in:
parent
0a3309949a
commit
93a375435a
1 changed files with 5 additions and 6 deletions
|
@ -1,5 +1,4 @@
|
|||
#include <avr/pgmspace.h>
|
||||
#include <math.h>
|
||||
|
||||
#include "avrlib/adc.h"
|
||||
#include "avrlib/avrlib.h"
|
||||
|
@ -47,7 +46,7 @@ int main(void)
|
|||
AnalogInputs::Scan();
|
||||
for (int i = 0; i < NUM_CHANNELS; i++) {
|
||||
volume[i] = pgm_read_word_near(lut_res_linear_to_exp + AnalogInputs::Read(i));
|
||||
if(volume[i] < 7) // some ADSRs dont seem to close completely, lets gate very low voltages...
|
||||
if (volume[i] < 7) // some ADSRs dont seem to close completely, lets gate very low voltages...
|
||||
volume[i] = 0;
|
||||
pan[i] = AnalogInputs::Read(i + NUM_CHANNELS);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue