From 9210cca20e071114721e3cded986e9e81847e19c Mon Sep 17 00:00:00 2001 From: Sam Ellicott Date: Sat, 5 Jun 2021 00:10:13 -0400 Subject: [PATCH] Remove old, dead, code --- colorchord2/DisplayOUTDriver.c | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/colorchord2/DisplayOUTDriver.c b/colorchord2/DisplayOUTDriver.c index 722f6a1..aa17c04 100644 --- a/colorchord2/DisplayOUTDriver.c +++ b/colorchord2/DisplayOUTDriver.c @@ -121,26 +121,6 @@ static void DPOUpdate(void * id, struct NoteFinder*nf) } } -/* float cw = ((float)screenx) / d->xn; - float ch = ((float)screeny) / d->yn; - - for( i = 0; i < d->note_peaks; i++ ) - { - struct LINote * l = &d->notes[i]; - int j; - float sat = nf->note_amplitudes_out[i] * d->satamp; - if( sat > 1 ) sat = 1; - CNFGDialogColor = CCtoHEX( nf->note_positions[i] / nf->freqbins, 1.0, sat ); - for( j = 0; j < l->nrleds; j++ ) - { - int id = l->ledids[j]; - float x = (id % d->xn) * cw; - float y = (id / d->xn) * ch; - - CNFGDrawBox( x, y, x+cw, y+ch ); - } - }*/ - int led = 0; for( i = 0; i < d->note_peaks; i++ ) {