Skip to content

Commit

Permalink
Remove extra semikolon
Browse files Browse the repository at this point in the history
  • Loading branch information
tbnobody committed Dec 29, 2024
1 parent d43ac7f commit 498afe3
Show file tree
Hide file tree
Showing 14 changed files with 41 additions and 15 deletions.
4 changes: 3 additions & 1 deletion lib/Hoymiles/src/inverters/HERF_1CH.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ static const byteAssign_t byteAssignment[] = {
};

HERF_1CH::HERF_1CH(HoymilesRadio* radio, const uint64_t serial)
: HM_Abstract(radio, serial) {};
: HM_Abstract(radio, serial)
{
}

bool HERF_1CH::isValidSerial(const uint64_t serial)
{
Expand Down
4 changes: 3 additions & 1 deletion lib/Hoymiles/src/inverters/HERF_2CH.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ static const byteAssign_t byteAssignment[] = {
};

HERF_2CH::HERF_2CH(HoymilesRadio* radio, const uint64_t serial)
: HM_Abstract(radio, serial) {};
: HM_Abstract(radio, serial)
{
}

bool HERF_2CH::isValidSerial(const uint64_t serial)
{
Expand Down
4 changes: 3 additions & 1 deletion lib/Hoymiles/src/inverters/HERF_4CH.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
#include "HERF_4CH.h"

HERF_4CH::HERF_4CH(HoymilesRadio* radio, const uint64_t serial)
: HM_4CH(radio, serial) {};
: HM_4CH(radio, serial)
{
}

bool HERF_4CH::isValidSerial(const uint64_t serial)
{
Expand Down
4 changes: 3 additions & 1 deletion lib/Hoymiles/src/inverters/HMS_1CH.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ static const byteAssign_t byteAssignment[] = {
};

HMS_1CH::HMS_1CH(HoymilesRadio* radio, const uint64_t serial)
: HMS_Abstract(radio, serial) {};
: HMS_Abstract(radio, serial)
{
}

bool HMS_1CH::isValidSerial(const uint64_t serial)
{
Expand Down
4 changes: 3 additions & 1 deletion lib/Hoymiles/src/inverters/HMS_1CHv2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ static const byteAssign_t byteAssignment[] = {
};

HMS_1CHv2::HMS_1CHv2(HoymilesRadio* radio, const uint64_t serial)
: HMS_Abstract(radio, serial) {};
: HMS_Abstract(radio, serial)
{
}

bool HMS_1CHv2::isValidSerial(const uint64_t serial)
{
Expand Down
4 changes: 3 additions & 1 deletion lib/Hoymiles/src/inverters/HMS_2CH.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ static const byteAssign_t byteAssignment[] = {
};

HMS_2CH::HMS_2CH(HoymilesRadio* radio, const uint64_t serial)
: HMS_Abstract(radio, serial) {};
: HMS_Abstract(radio, serial)
{
}

bool HMS_2CH::isValidSerial(const uint64_t serial)
{
Expand Down
4 changes: 3 additions & 1 deletion lib/Hoymiles/src/inverters/HMS_4CH.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,9 @@ static const byteAssign_t byteAssignment[] = {
};

HMS_4CH::HMS_4CH(HoymilesRadio* radio, const uint64_t serial)
: HMS_Abstract(radio, serial) {};
: HMS_Abstract(radio, serial)
{
}

bool HMS_4CH::isValidSerial(const uint64_t serial)
{
Expand Down
4 changes: 3 additions & 1 deletion lib/Hoymiles/src/inverters/HMT_4CH.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,9 @@ static const byteAssign_t byteAssignment[] = {
};

HMT_4CH::HMT_4CH(HoymilesRadio* radio, const uint64_t serial)
: HMT_Abstract(radio, serial) {};
: HMT_Abstract(radio, serial)
{
}

bool HMT_4CH::isValidSerial(const uint64_t serial)
{
Expand Down
4 changes: 3 additions & 1 deletion lib/Hoymiles/src/inverters/HMT_6CH.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,9 @@ static const byteAssign_t byteAssignment[] = {
};

HMT_6CH::HMT_6CH(HoymilesRadio* radio, const uint64_t serial)
: HMT_Abstract(radio, serial) {};
: HMT_Abstract(radio, serial)
{
}

bool HMT_6CH::isValidSerial(const uint64_t serial)
{
Expand Down
4 changes: 2 additions & 2 deletions lib/Hoymiles/src/inverters/HMT_Abstract.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ HMT_Abstract::HMT_Abstract(HoymilesRadio* radio, const uint64_t serial)
: HM_Abstract(radio, serial)
{
EventLog()->setMessageType(AlarmMessageType_t::HMT);
};
}

bool HMT_Abstract::sendChangeChannelRequest()
{
Expand All @@ -26,4 +26,4 @@ bool HMT_Abstract::sendChangeChannelRequest()
_radio->enqueCommand(cmdChannel);

return true;
};
}
4 changes: 3 additions & 1 deletion lib/Hoymiles/src/inverters/HM_1CH.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ static const byteAssign_t byteAssignment[] = {
};

HM_1CH::HM_1CH(HoymilesRadio* radio, const uint64_t serial)
: HM_Abstract(radio, serial) {};
: HM_Abstract(radio, serial)
{
}

bool HM_1CH::isValidSerial(const uint64_t serial)
{
Expand Down
4 changes: 3 additions & 1 deletion lib/Hoymiles/src/inverters/HM_2CH.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ static const byteAssign_t byteAssignment[] = {
};

HM_2CH::HM_2CH(HoymilesRadio* radio, const uint64_t serial)
: HM_Abstract(radio, serial) {};
: HM_Abstract(radio, serial)
{
}

bool HM_2CH::isValidSerial(const uint64_t serial)
{
Expand Down
4 changes: 3 additions & 1 deletion lib/Hoymiles/src/inverters/HM_4CH.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,9 @@ static const byteAssign_t byteAssignment[] = {
};

HM_4CH::HM_4CH(HoymilesRadio* radio, const uint64_t serial)
: HM_Abstract(radio, serial) {};
: HM_Abstract(radio, serial)
{
}

bool HM_4CH::isValidSerial(const uint64_t serial)
{
Expand Down
4 changes: 3 additions & 1 deletion lib/Hoymiles/src/inverters/HM_Abstract.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@
#include "commands/SystemConfigParaCommand.h"

HM_Abstract::HM_Abstract(HoymilesRadio* radio, const uint64_t serial)
: InverterAbstract(radio, serial) {};
: InverterAbstract(radio, serial)
{
}

bool HM_Abstract::sendStatsRequest()
{
Expand Down

0 comments on commit 498afe3

Please sign in to comment.