diff OSTC3pOperations.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/OSTC3pOperations.cpp	Mon Jan 12 13:49:16 2026 +0000
+++ b/OSTC3pOperations.cpp	Mon Jan 12 13:51:17 2026 +0000
@@ -36,8 +36,8 @@
 //////////////////////////////////////////////////////////////////////////////
 
 #include "OSTC3pOperations.h"
+#include <QRegularExpression>
 #include "Utils/Log.h"
-#include <QRegularExpression>
 
 //////////////////////////////////////////////////////////////////////////////
 
@@ -62,8 +62,8 @@
     LOG_TRACE("Getting model...");
     HardwareDescriptor hw = hardwareDescriptor();
 
-//    if( hw != HW_OSTC3p_a && hw != HW_OSTC3p_b )
- //       LOG_THROW("Not an OSTC3+.");
+    //    if( hw != HW_OSTC3p_a && hw != HW_OSTC3p_b )
+    //       LOG_THROW("Not an OSTC3+.");
 
     LOG_TRACE("Getting identity...");
     getCommonIdentity();
@@ -88,8 +88,8 @@
 HardwareOperations::CompanionFeatures OSTC3pOperations::supported() const
 {
     // No ICON, no DUMPSCREEN, no VPM
-    return CompanionFeatures(PARAMETERS|DATE|NAME|FIRMWARE
-                     |HELIUM_DIVE|CCR_DIVE|BLUETOOTH);
+    return CompanionFeatures(PARAMETERS | DATE | NAME | FIRMWARE | HELIUM_DIVE | CCR_DIVE
+                             | BLUETOOTH);
 }
 #if 0
 QRegExp OSTC3pOperations::portTemplate() const
@@ -110,13 +110,12 @@
 QRegularExpression OSTC3pOperations::portTemplate() const
 {
 #if defined(Q_OS_MAC)
-    return QRegularExpression("tty.OSTC[0-9][0-9]+.*",
-                              QRegularExpression::CaseInsensitiveOption);
+    return QRegularExpression("tty.OSTC[0-9][0-9]+.*", QRegularExpression::CaseInsensitiveOption);
 #elif defined(Q_OS_LINUX)
     // Debian, Ubuntu, RedHat, CentOS, SUSE
     return QRegularExpression("ttyUSB.*"); // default: case-sensitive
 #elif defined(Q_OS_WIN)
-    return QRegularExpression("COM.*");    // default: case-sensitive
+    return QRegularExpression("COM.*"); // default: case-sensitive
 #endif
 }