Skip to content

Commit

Permalink
* changed spaces in Ptt.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
dl1hrc committed Sep 24, 2014
1 parent 813e929 commit aa401a4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/svxlink/trx/Ptt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ Ptt *PttFactoryBase::createNamedPtt(Config& cfg, const string& name)
PttGpio::Factory gpio_ptt_factory;
PttPty::Factory pty_ptt_factory;
PttHidraw::Factory hidraw_ptt_factory;

string ptt_type;
if (!cfg.getValue(name, "PTT_TYPE", ptt_type) || ptt_type.empty())
{
Expand All @@ -151,15 +151,15 @@ Ptt *PttFactoryBase::createNamedPtt(Config& cfg, const string& name)
{
ptt_type = "Dummy";
}

Ptt *ptt = createNamedObject(ptt_type);
if (ptt == 0)
{
cerr << "*** ERROR: Unknown PTT_TYPE \"" << ptt_type << "\" specified for "
<< "transmitter " << name << ". Legal values are: "
<< validFactories() << "or \"NONE\"" << endl;
}

return ptt;
} /* PttFactoryBase::createNamedPtt */

Expand Down

0 comments on commit aa401a4

Please sign in to comment.