changeset 374:ef1b8579166c MotionDetection

Removed some warnings
author ideenmodellierer
date Sun, 08 Sep 2019 13:45:43 +0200
parents 7b981f8bdd41
children 4bb5ceebfaf9
files Discovery/Src/t7.c
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
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 */