duff2013 pirms 9 gadiem
vecāks
revīzija
c6321bc779
1 mainītis faili ar 2 papildinājumiem un 1 dzēšanām
  1. +2
    -1
      AudioTuner.cpp

+ 2
- 1
AudioTuner.cpp Parādīt failu

@@ -79,7 +79,7 @@ void AudioTuner::update( void ) {
block_count = count;
if ( process_buffer ) {
//digitalWriteFast(0, HIGH);
digitalWriteFast(0, HIGH);
uint16_t tau;
uint16_t next;
next = next_buffer;
@@ -214,6 +214,7 @@ void AudioTuner::set_threshold( float thresh ) {
running_sum = 0;
block_count = 0;
block_count = 0;
enabled = true;
yin_idx = 1;
data = 0;
__enable_irq( );

Notiek ielāde…
Atcelt
Saglabāt