comparison 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
comparison
equal deleted inserted replaced
724:f285424f04d9 725:621265ec3d23
317 317
318 #ifdef ENABLE_CO2_SUPPORT 318 #ifdef ENABLE_CO2_SUPPORT
319 static void openEdit_CO2Sensor() 319 static void openEdit_CO2Sensor()
320 { 320 {
321 char text[32]; 321 char text[32];
322
323 resetMenuEdit(CLUT_MenuPageXtra);
324
322 snprintf(text,32,"\001%c",TXT_CO2Sensor); 325 snprintf(text,32,"\001%c",TXT_CO2Sensor);
323 write_topline(text); 326 write_topline(text);
324 327
325 refresh_CO2Data(); 328 refresh_CO2Data();
326 if(settingsGetPointer()->co2_sensor_active) 329 if(settingsGetPointer()->co2_sensor_active)