diff Discovery/Src/tMenuCustom.c @ 630:b9d4baa4f6fa

Warnings: Solved warnings related to possible problems with string length in combination with sprintf usage
author Ideenmodellierer
date Tue, 23 Feb 2021 21:54:56 +0100
parents fb5bb04ad914
children 4a6bffaa38b3
line wrap: on
line diff
--- a/Discovery/Src/tMenuCustom.c	Tue Feb 23 21:53:24 2021 +0100
+++ b/Discovery/Src/tMenuCustom.c	Tue Feb 23 21:54:56 2021 +0100
@@ -84,7 +84,7 @@
 			   break;
 
 		   default:
-			   snprintf(&text[textPointer++],2,"%u",settingsGetPointer()->extraDisplay);
+			   snprintf(&text[textPointer++],4,"%u",settingsGetPointer()->extraDisplay);
        break;
        }
     }