Commit 9f9c6f48 authored by Jacob Vosmaer's avatar Jacob Vosmaer

Don't reset pitch env after program change

parent 0a5aceb0
......@@ -86,7 +86,6 @@ program_change(uint8_t pgm)
vibrato_init();
gate_init();
pitch_init();
(*pgm_init[current_program])();
}
......@@ -132,6 +131,7 @@ main(void)
dac_init();
midi_init();
clock_init();
pitch_init();
program_change(PGM_POLY);
vibrato_precompute();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment