diff Discovery/Src/t7.c @ 374:ef1b8579166c MotionDetection

Removed some warnings
author ideenmodellierer
date Sun, 08 Sep 2019 13:45:43 +0200
parents 75eedde05ff6
children 0dbf550dc743
line wrap: on
line diff
--- a/Discovery/Src/t7.c	Sun Sep 08 13:45:17 2019 +0200
+++ b/Discovery/Src/t7.c	Sun Sep 08 13:45:43 2019 +0200
@@ -1508,9 +1508,9 @@
     uint32_t cv_config = settingsGetPointer()->cv_configuration;
 
     if(stateUsed->mode == MODE_DIVE)
-        pViews = customviewsDive;
+        pViews = (uint8_t*)customviewsDive;
     else
-        pViews = customviewsSurface;
+        pViews = (uint8_t*)customviewsSurface;
 
     while((*pViews != CVIEW_END))
     {
@@ -1543,9 +1543,9 @@
     _Bool cv_disabled = 0;
 
     if(stateUsed->mode == MODE_DIVE)
-        pViews = customviewsDive;
+        pViews = (uint8_t*)customviewsDive;
     else
-        pViews = customviewsSurface;
+        pViews = (uint8_t*)customviewsSurface;
 
     pStartView = pViews;
     /* set pointer to currently selected view and count number of entries */