瀏覽代碼

update

main
duff2013 9 年之前
父節點
當前提交
c6321bc779
共有 1 個檔案被更改,包括 2 行新增1 行删除
  1. +2
    -1
      AudioTuner.cpp

+ 2
- 1
AudioTuner.cpp 查看文件

@@ -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…
取消
儲存