Mercurial > public > ostc4
diff Small_CPU/Src/scheduler.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 | 045ff7800501 |
children | d646a0f724a7 |
line wrap: on
line diff
--- a/Small_CPU/Src/scheduler.c Thu Jan 05 18:30:06 2023 +0100 +++ b/Small_CPU/Src/scheduler.c Sat Jan 07 18:11:52 2023 +0100 @@ -516,7 +516,7 @@ ticksdiff = time_elapsed_ms(Scheduler.tickstart,lasttick); #ifdef ENABLE_CO2_SUPPORT - if(global.dataSendToSlave.data.externalInterface_Cmd & EXT_INTERFACE_UART_SENTINEL) + if(global.dataSendToSlave.data.externalInterface_Cmd & EXT_INTERFACE_UART_CO2) { HandleUARTCO2Data(); } @@ -838,7 +838,7 @@ } #ifdef ENABLE_CO2_SUPPORT - if(global.dataSendToSlave.data.externalInterface_Cmd & EXT_INTERFACE_UART_SENTINEL) + if(global.dataSendToSlave.data.externalInterface_Cmd & EXT_INTERFACE_UART_CO2) { HandleUARTCO2Data(); }