Moved "else" to same line as previous closing braces, according to Google style guidelines "whitespace/newline"
This commit is contained in:
parent
b9f28d6e6e
commit
87845ca31e
1 changed files with 1 additions and 2 deletions
|
@ -117,8 +117,7 @@ std::string ProtocolOregon::decode1984(const std::string &data, const std::wstri
|
||||||
|
|
||||||
if (model.compare(L"0x1984") == 0) {
|
if (model.compare(L"0x1984") == 0) {
|
||||||
checksum += 0x1 + 0x9 + 0x8 + 0x4;
|
checksum += 0x1 + 0x9 + 0x8 + 0x4;
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
checksum += 0x1 + 0x9 + 0x9 + 0x4;
|
checksum += 0x1 + 0x9 + 0x9 + 0x4;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue