Browse Source

update

main
duff2013 9 years ago
parent
commit
c6321bc779
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      AudioTuner.cpp

+ 2
- 1
AudioTuner.cpp View File

@@ -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( );

Loading…
Cancel
Save