Personal fork of the library for direct control instead of library control

Dependencies:   X_NUCLEO_COMMON

Dependents:   Thesis_Rotating_Platform

Fork of X_NUCLEO_IHM01A1 by Arkadi Rafalovich

Revision:
9:6f116ce8e314
Parent:
8:42e0b00b1e4d
Child:
10:c3824af0caf4
--- a/Components/l6474/l6474_class.h	Mon Nov 23 11:10:54 2015 +0000
+++ b/Components/l6474/l6474_class.h	Wed Nov 25 12:08:01 2015 +0000
@@ -529,7 +529,7 @@
         L6474_AttachErrorHandler((void (*)(uint16_t error)) fptr);
     }
 
-   /**
+    /**
      * @brief  Enabling the device.
      * @param  None.
      * @retval None.
@@ -539,7 +539,7 @@
         L6474_CmdEnable();
     }
     
-   /**
+    /**
      * @brief  Disabling the device.
      * @param  None.
      * @retval None.
@@ -549,6 +549,16 @@
         L6474_CmdDisable();
     }
 
+    /**
+     * @brief  Getting the version of the firmware.
+     * @param  None.
+     * @retval The version of the firmware.
+     */
+    virtual uint8_t GetFwVersion(void)
+    {
+        return (uint8_t) L6474_GetFwVersion();
+    }
+
 
     /*** Public Interrupt Related Methods ***/