teamALI / Mbed 2 deprecated HB2018

Dependencies:   mbed FreeRTOS

Revision:
46:5074781a28dd
Parent:
40:debe99e228d3
Child:
48:71aec693a7dc
--- a/HbMotor.cpp	Wed Feb 13 11:55:39 2019 +0000
+++ b/HbMotor.cpp	Tue Feb 19 11:52:49 2019 +0000
@@ -273,7 +273,7 @@
 
 INT16 HbSubProp::getValueFpgaMot(eMotType type)
 {
-    if(motCtrl[0] == NULL || motCtrl[1] == NULL) return;
+    if(motCtrl[0] == NULL || motCtrl[1] == NULL) return 0;
     if(type == IN){
         return motCtrl[0]->getValFpga();
     }