Skip to content

Commit a6446ca

Browse files
committed
2 parents d488b98 + 2367c7e commit a6446ca

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

hardware/SatelIntegra.cpp

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,6 @@ static Model models[TOT_MODELS] =
4545

4646
#define MAX_LENGTH_OF_ANSWER 63 * 2 + 4 + 1
4747

48-
// const unsigned char allPartitions[4] = { 0xFF, 0xFF, 0xFF, 0xFF };
49-
5048
SatelIntegra::SatelIntegra(const int ID, const std::string &IPAddress, const unsigned short IPPort, const std::string& userCode) :
5149
m_modelIndex(-1),
5250
m_data32(false),
@@ -112,7 +110,7 @@ SatelIntegra::SatelIntegra(const int ID, const std::string &IPAddress, const uns
112110

113111
SatelIntegra::~SatelIntegra()
114112
{
115-
_log.Log(LOG_NORM, "Satel Integra: Destroy instance");
113+
_log.Log(LOG_STATUS, "Satel Integra: Destroy instance");
116114
}
117115

118116
bool SatelIntegra::StartHardware()
@@ -354,7 +352,7 @@ bool SatelIntegra::GetInfo()
354352
}
355353
else
356354
{
357-
_log.Log(LOG_STATUS, "Satel Integra: unknown version of ETHM-1");
355+
_log.Log(LOG_ERROR, "Satel Integra: unknown version of ETHM-1");
358356
return false;
359357
}
360358
}
@@ -1088,7 +1086,7 @@ int SatelIntegra::SendCommand(const unsigned char* cmd, const unsigned int cmdLe
10881086

10891087
if ((ret <= 0) || (ret >= MAX_LENGTH_OF_ANSWER))
10901088
{
1091-
_log.Log(LOG_STATUS, "Satel Integra: bad data length received");
1089+
_log.Log(LOG_ERROR, "Satel Integra: bad data length received");
10921090
return -1;
10931091
}
10941092

@@ -1155,7 +1153,7 @@ int SatelIntegra::SendCommand(const unsigned char* cmd, const unsigned int cmdLe
11551153
{
11561154
if (buffer[0] == 16)
11571155
{
1158-
_log.Log(LOG_STATUS, "Satel Integra: busy");
1156+
_log.Log(LOG_ERROR, "Satel Integra: busy");
11591157
return -1;
11601158
}
11611159
else

0 commit comments

Comments
 (0)