Commit 01956ebee35cb81f4814003a3bf981c46ed6f93a
authorMichel Pollet <buserror@gmail.com>
Wed, 10 Jun 2015 20:00:02 +0000 (21:00 +0100)
committerMichel Pollet <buserror@gmail.com>
Thu, 2 Jul 2015 18:02:54 +0000 (19:02 +0100)
Accidentally commited this earlier

Signed-off-by: Michel Pollet <buserror@gmail.com>
simavr/sim/avr_adc.c

index bd2d069fe6cf2a3522847d0a7ddd9153a018b568..a8cd7e0f7304cfb8398106729135df8de37160bb 100644 (file)
@@ -238,8 +238,7 @@ avr_adc_write_adcsra(
                        uint32_t v;
                } e = { .mux = p->muxmode[muxi] };
                avr_raise_irq(p->io.irq + ADC_IRQ_OUT_TRIGGER, e.v);
-               if (muxi == 0)
-                       printf("Start ADC %d\n", muxi);
+
                // clock prescaler are just a bit shift.. and 0 means 1
                uint32_t div = avr_regbit_get_array(avr, p->adps, ARRAY_SIZE(p->adps));
                if (!div) div++;