Skip to content

Commit

Permalink
moved some blank space in order to exactly go back to original version
Browse files Browse the repository at this point in the history
  • Loading branch information
dl1ycf committed Jul 6, 2018
1 parent f718b4f commit 2c50d08
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion vox.c
Expand Up @@ -36,6 +36,7 @@ static int vox_timeout_cb(gpointer data) {
return FALSE;
}


double vox_get_peak() {
double result=peak;
return result;
Expand All @@ -48,7 +49,6 @@ void update_vox(TRANSMITTER *tx) {
int i;
double sample;
peak=0.0;

for(i=0;i<tx->buffer_size;i++) {
sample=tx->mic_input_buffer[i*2];
if(sample<0.0) {
Expand Down
1 change: 0 additions & 1 deletion vox.h
Expand Up @@ -19,5 +19,4 @@

extern void update_vox(TRANSMITTER *tx);
extern void vox_cancel();
extern void vox_cw_cancel();
extern double vox_get_peak();

0 comments on commit 2c50d08

Please sign in to comment.