Skip to content
Snippets Groups Projects
Commit befd4aa7 authored by Medicina Operator's avatar Medicina Operator
Browse files

fixed bug: calOn and calOff changing to CHC receiver

parent 73150272
No related branches found
No related tags found
No related merge requests found
......@@ -119,7 +119,7 @@ void CRecvBossCore::calOn() throw (ComponentErrors::ValidationErrorExImpl,Compon
m_kBandSocket.Receive(err,(void *)buff,10); // read the answer but for the moment I don't care. I hope everything worked properly
#endif
}
else if ((m_currentReceiver=="CCC") || (m_currentReceiver="CHC")){
else if ((m_currentReceiver=="CCC") || (m_currentReceiver=="CHC")){
#ifndef RB_DEBUG
char buffer [14] = {'s','e','t',' ','m','a','r','c','a','c',' ','o','n','\n' };
if (m_recvSocket.Send(err,(const void *)buffer,14)!=14) {
......@@ -178,7 +178,7 @@ void CRecvBossCore::calOff() throw (ComponentErrors::ValidationErrorExImpl,Compo
m_kBandSocket.Receive(err,(void *)buff,10); // read the answer but for the moment I don't care. I hope everything worked properly
#endif
}
else if ((m_currentReceiver=="CCC") || (m_currentReceiver="CHC")) {
else if ((m_currentReceiver=="CCC") || (m_currentReceiver=="CHC")) {
#ifndef RB_DEBUG
char buffer [15] = {'s','e','t',' ','m','a','r','c','a','c',' ','o','f','f','\n' };
if (m_recvSocket.Send(err,(const void *)buffer,15)!=15) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment