diff Discovery/Src/tMenuEditXtra.c @ 725:621265ec3d23

Update CO2 sensor implementation: Some updates were needed to get the CO2 sensor code up and running again (menu handling and UART DMA transfer).
author Ideenmodellierer
date Sat, 07 Jan 2023 18:11:52 +0100
parents 062deb659531
children be25ab2d902c
line wrap: on
line diff
--- a/Discovery/Src/tMenuEditXtra.c	Thu Jan 05 18:30:06 2023 +0100
+++ b/Discovery/Src/tMenuEditXtra.c	Sat Jan 07 18:11:52 2023 +0100
@@ -319,6 +319,9 @@
 static void openEdit_CO2Sensor()
 {
     char text[32];
+
+    resetMenuEdit(CLUT_MenuPageXtra);
+
     snprintf(text,32,"\001%c",TXT_CO2Sensor);
     write_topline(text);