removed unessecary logging.
This commit is contained in:
parent
844e74777f
commit
821782e60e
@ -465,11 +465,7 @@ void audio_tick(){
|
|||||||
|
|
||||||
if((prev_ticks & (1 << 1)) && !(ticks & (1 << 1)) && ctx.sq1_sweep_enabled) {
|
if((prev_ticks & (1 << 1)) && !(ticks & (1 << 1)) && ctx.sq1_sweep_enabled) {
|
||||||
ctx.sq1_sweep_timer--;
|
ctx.sq1_sweep_timer--;
|
||||||
if(ctx.sq1_sweep_pace == 0) {
|
|
||||||
printf("sweep enabled without sweep pace\n");
|
|
||||||
}
|
|
||||||
if(ctx.sq1_sweep_timer <= 0){//(ctx.sq1_sweep_timer >= ctx.sq1_sweep_pace && ctx.sq1_sweep_pace > 0) || (ctx.sq1_sweep_timer >= 8 && ctx.sq1_sweep_pace == 0)) {
|
if(ctx.sq1_sweep_timer <= 0){//(ctx.sq1_sweep_timer >= ctx.sq1_sweep_pace && ctx.sq1_sweep_pace > 0) || (ctx.sq1_sweep_timer >= 8 && ctx.sq1_sweep_pace == 0)) {
|
||||||
printf("sweep trigger Period: %d, Timer: %d\n", ctx.sq1_sweep_pace, ctx.sq1_sweep_timer);
|
|
||||||
ctx.sq1_sweep_timer = ctx.sq1_sweep_pace != 0 ? ctx.sq1_sweep_pace : 8;
|
ctx.sq1_sweep_timer = ctx.sq1_sweep_pace != 0 ? ctx.sq1_sweep_pace : 8;
|
||||||
if(ctx.sq1_enable && ctx.sq1_sweep_pace > 0 && ctx.sq1_sweep_enabled){
|
if(ctx.sq1_enable && ctx.sq1_sweep_pace > 0 && ctx.sq1_sweep_enabled){
|
||||||
sq1_sweep();
|
sq1_sweep();
|
||||||
|
Loading…
Reference in New Issue
Block a user