diff Discovery/Src/tMenuDeco.c @ 51:8f8ea3a32e82

Resolved warnings pointing to possible invalid memory access
author Ideenmodellierer
date Tue, 31 Jul 2018 22:28:21 +0200
parents 5f11787b4f42
children 1b995079c045
line wrap: on
line diff
--- a/Discovery/Src/tMenuDeco.c	Mon Jul 30 11:37:39 2018 +0200
+++ b/Discovery/Src/tMenuDeco.c	Tue Jul 31 22:28:21 2018 +0200
@@ -67,6 +67,9 @@
         case DIVEMODE_Apnea:
             divemode = TXT_Apnoe;
             break;
+        default :
+        	divemode = TXT_OpenCircuit;
+        	break;
         }
         textPointer += snprintf(&text[textPointer], 60,\
             "%c"