Version FC

Dependencies:   DmTftLibrary eeprom SX1280Lib filesystem mbed

Fork of MSNV2-Terminal_V1-5 by Francis CHATAIN

Revision:
28:3bf2fe501aa2
Parent:
27:a1c37c596bfc
Child:
36:14a8da4108d5
--- a/Service.hpp	Tue Sep 18 19:54:51 2018 +0000
+++ b/Service.hpp	Tue Sep 18 19:58:14 2018 +0000
@@ -106,6 +106,11 @@
               OUTPUT_MODE output_mode,
               std::string comment);
 */
+
+  virtual ~Service() { }
+
+  virtual float readValue(void) = 0;
+  
   DEVICE_TYPE getDeviceType() {
     return this->device_type;
   }
@@ -184,9 +189,7 @@
   void setActivationNb(uint32_t act) {
     this->activation_nb = act;
   }
-  virtual ~Service() { }
 
-  virtual float readValue(void) = 0;
 
   // This method is used to check whether the service is ready to be sampled
   // (ENABLED state and subsampling rate OK)