changeset 219:f9b17e898a7a Improve_IPC_Sync

Resolved some minor warnings
author ideenmodellierer
date Sun, 31 Mar 2019 15:44:56 +0200
parents ff59d1d07f9c
children e524a824d8f2
files Discovery/Src/tMenuEdit.c Discovery/Src/test_vpm.c Small_CPU/Src/compass.c
diffstat 3 files changed, 7 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/Discovery/Src/tMenuEdit.c	Sun Mar 31 15:44:12 2019 +0200
+++ b/Discovery/Src/tMenuEdit.c	Sun Mar 31 15:44:56 2019 +0200
@@ -1070,11 +1070,12 @@
         case ACTION_TIMEOUT:
         case ACTION_MODE_CHANGE:
             exitMenuEdit(1);
-        default:
             break;
         case ACTION_IDLE_TICK:
         case ACTION_IDLE_SECOND:
+        default:
             break;
+
         }
     }
     else
@@ -1094,11 +1095,12 @@
         case ACTION_TIMEOUT:
         case ACTION_MODE_CHANGE:
             exitMenuEditField();
-        default:
             break;
         case ACTION_IDLE_TICK:
         case ACTION_IDLE_SECOND:
             break;
+        default:
+            break;
         }
     }
     else
@@ -1114,11 +1116,12 @@
         case ACTION_TIMEOUT:
         case ACTION_MODE_CHANGE:
             exitMenuEdit(1);
-        default:
             break;
         case ACTION_IDLE_TICK:
         case ACTION_IDLE_SECOND:
             break;
+        default:
+            break;
         }
     }
 }
--- a/Discovery/Src/test_vpm.c	Sun Mar 31 15:44:12 2019 +0200
+++ b/Discovery/Src/test_vpm.c	Sun Mar 31 15:44:56 2019 +0200
@@ -345,7 +345,6 @@
             decotable_minutes[i] = ((float)input.decolistVPM.output_stop_length_seconds[i]) / 60.0f;
         }
     }
-    i = i;
     return true;
 }
 
@@ -403,7 +402,6 @@
             decotable_minutes[i] = ((float)input.decolistVPM.output_stop_length_seconds[i]) / 60.0f;
         }
     }
-    i = i;
     return true;
 }
 
@@ -462,7 +460,6 @@
             decotable_minutes[i] = ((float)input.decolistVPM.output_stop_length_seconds[i]) / 60.0f;
         }
     }
-    i = i;
     return true;
 }
 
--- a/Small_CPU/Src/compass.c	Sun Mar 31 15:44:12 2019 +0200
+++ b/Small_CPU/Src/compass.c	Sun Mar 31 15:44:56 2019 +0200
@@ -35,6 +35,7 @@
 #include "compass_LSM303DLHC.h"
 
 #include "i2c.h"
+#include "spi.h"
 #include "RTE_FlashAccess.h" // to store compass_calib_data
 
 #include "stm32f4xx_hal.h"