Skip to content

Commit

Permalink
Declare serial DV variables only if needed
Browse files Browse the repository at this point in the history
  • Loading branch information
f4exb committed Jun 24, 2018
1 parent 4066e2d commit 44362a2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion dsd_main.cpp
Expand Up @@ -183,9 +183,11 @@ int main(int argc, char **argv)
FILE *formattext_fp = 0;
float formattext_refresh = 0.1f;
char formattext[128];
#ifdef DSD_USE_SERIALDV
char serialDevice[16];
std::string dvSerialDevice;
int dvGain_dB = 0;
std::string dvSerialDevice;
#endif
int slots = 1;
Mixer mixer;
float lat = 0.0f;
Expand Down

0 comments on commit 44362a2

Please sign in to comment.