Skip to content

Commit

Permalink
PixiePi
Browse files Browse the repository at this point in the history
  • Loading branch information
lu7did committed May 23, 2020
1 parent 4aee74f commit bb8d724
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Binary file modified bin/OT4D
Binary file not shown.
Binary file modified bin/demo_genSSB
Binary file not shown.
2 changes: 1 addition & 1 deletion src/OT4D/OT4D.h
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ int main(int argc, char** argv)
#ifdef OT4D

f=ini_getl("OT4D","FREQ",14074000,inifile);
TRACE=ini_getl("OT4D","TRACE",2,inifile);
TRACE=ini_getl("OT4D","TRACE",0,inifile);
vol=ini_getl("OT4D","VOL",10,inifile);
nIni=ini_gets("OT4D", "PORT", "/tmp/ttyv0", port, sizearray(port), inifile);

Expand Down
8 changes: 4 additions & 4 deletions src/lib/genSSB.h
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ genSSB::genSSB(CALLBACK v){
void genSSB::setSoundChannel(int c) {

this->soundChannel=c;
(this->TRACE>=0x01 ? fprintf(stderr,"%s::setSoundChannel() Soundchannel defined (%d)\n",PROGRAMID,this->soundChannel) : _NOP);
(this->TRACE>=0x02 ? fprintf(stderr,"%s::setSoundChannel() Soundchannel defined (%d)\n",PROGRAMID,this->soundChannel) : _NOP);

}
//---------------------------------------------------------------------------------------------------
Expand All @@ -172,7 +172,7 @@ void genSSB::setSoundChannel(int c) {
void genSSB::setSoundSR(int sr) {

this->soundSR=sr;
(this->TRACE>=0x01 ? fprintf(stderr,"%s::setSoundSR() Sound card sample rate(%d)\n",PROGRAMID,this->soundSR) : _NOP);
(this->TRACE>=0x02 ? fprintf(stderr,"%s::setSoundSR() Sound card sample rate(%d)\n",PROGRAMID,this->soundSR) : _NOP);

}
//---------------------------------------------------------------------------------------------------
Expand All @@ -181,7 +181,7 @@ void genSSB::setSoundSR(int sr) {
void genSSB::setSoundHW(char* hw) {

strcpy(this->soundHW,hw);
(this->TRACE>=0x01 ? fprintf(stderr,"%s::setSoundHW() Sound card Hardware(%s)\n",PROGRAMID,this->soundHW) : _NOP);
(this->TRACE>=0x02 ? fprintf(stderr,"%s::setSoundHW() Sound card Hardware(%s)\n",PROGRAMID,this->soundHW) : _NOP);

}
//---------------------------------------------------------------------------------------------------
Expand All @@ -193,7 +193,7 @@ void genSSB::setFrequency(float f) {
return;
}
this->f=f;
(this->TRACE>=0x01 ? fprintf(stderr,"%s::setFrequency <FREQ=%d>\n",PROGRAMID,(int)this->f) : _NOP);
(this->TRACE>=0x02 ? fprintf(stderr,"%s::setFrequency <FREQ=%d>\n",PROGRAMID,(int)this->f) : _NOP);

}
//---------------------------------------------------------------------------------------------------
Expand Down

0 comments on commit bb8d724

Please sign in to comment.