diff HardwareOperations.h @ 5:115cfa4a3239 default tip

Added icon upload function for OSTC 4/5 For the upload the same process as the one for the firmware update is used => CRC functionality has been copied from the ostc_pack SW
author Ideenmodellierer
date Tue, 30 Dec 2025 21:41:02 +0100
parents 0b3630a29ad8
children
line wrap: on
line diff
--- a/HardwareOperations.h	Sun Nov 30 18:37:32 2025 +0100
+++ b/HardwareOperations.h	Tue Dec 30 21:41:02 2025 +0100
@@ -166,7 +166,7 @@
     /// Each driver (instance of this class) is requested to tell *Companion*
     /// what are the supported command.
     ///
-    enum CompanionFeatures {
+    enum CompanionFeature {
         PARAMETERS   = (1<<0),  ///< Download/Edit/Upload various parameters.
         DATE         = (1<<1),  ///< Set date & time.
         NAME         = (1<<2),  ///< Set custom text displayed on main screen.
@@ -179,7 +179,7 @@
         VPM_MODEL    = (1<<9),  ///< Also propose VPM deco stops.
         SIGNAL_CHECK = (1<<10)  ///< Echo signal quality for bluetooth computer
     };
-
+    Q_DECLARE_FLAGS(CompanionFeatures, CompanionFeature)
     /// \brief Tells what is supported for a given computer.
     virtual CompanionFeatures supported() const = 0;