Mercurial > public > ostc_companion
diff OSTC_CR_Operations.cpp @ 8:21ce6187d32e
Minor changes done by automatic style checker
| author | Ideenmodellierer |
|---|---|
| date | Mon, 12 Jan 2026 13:51:17 +0000 |
| parents | 0b3630a29ad8 |
| children |
line wrap: on
line diff
--- a/OSTC_CR_Operations.cpp Mon Jan 12 13:49:16 2026 +0000 +++ b/OSTC_CR_Operations.cpp Mon Jan 12 13:51:17 2026 +0000 @@ -56,8 +56,7 @@ HardwareOperations::CompanionFeatures OSTCcROperations::supported() const { // No ICON, no DUMPSCREEN - return CompanionFeatures(PARAMETERS|DATE|NAME|FIRMWARE - |HELIUM_DIVE|CCR_DIVE); + return CompanionFeatures(PARAMETERS | DATE | NAME | FIRMWARE | HELIUM_DIVE | CCR_DIVE); } void OSTCcROperations::getIdentity() @@ -66,13 +65,13 @@ LOG_TRACE("Getting model..."); HardwareDescriptor hw = hardwareDescriptor(); - if( hw != HW_UNKNOWN_OSTC && hw != HW_OSTCcR_a && hw != HW_OSTCcR_b ) + if (hw != HW_UNKNOWN_OSTC && hw != HW_OSTCcR_a && hw != HW_OSTCcR_b) LOG_THROW("Not an OSTC cR."); LOG_TRACE("Getting identity..."); getCommonIdentity(); - if( hw == HW_UNKNOWN_OSTC && (firmware() > 0x0A00 || serialNumber() > 10000) ) + if (hw == HW_UNKNOWN_OSTC && (firmware() > 0x0A00 || serialNumber() > 10000)) LOG_THROW("Not an OSTC cR"); LOG_TRACE("Found " << descriptionString);
