Mercurial > public > ostc4
comparison Small_CPU/Src/scheduler.c @ 922:7c996354b8ac Evo_2_23 tip
Moved UART6 into a separate unit:
UART6 connects internal devices. As a first step the existing code sections have been moved into a new unit. As well the code of the external GNSS sensor has been copied into this unit as starting point for the further development. Later the internal part can be integrated into the common uart (code cleanup).
author | Ideenmodellierer |
---|---|
date | Sun, 03 Nov 2024 20:53:05 +0100 |
parents | c0553dd70608 |
children |
comparison
equal
deleted
inserted
replaced
921:eb4109d7d1e9 | 922:7c996354b8ac |
---|---|
825 if(scheduleSetButtonResponsiveness()) | 825 if(scheduleSetButtonResponsiveness()) |
826 setButtonsNow = 0; | 826 setButtonsNow = 0; |
827 } | 827 } |
828 | 828 |
829 externalInterface_HandleUART(); | 829 externalInterface_HandleUART(); |
830 #ifdef ENABLE_GPIO_V2 | |
831 UART6_HandleUART(); | |
832 #endif | |
830 | 833 |
831 /* Evaluate received data at 10 ms, 110 ms, 210 ms,... duration ~<1ms */ | 834 /* Evaluate received data at 10 ms, 110 ms, 210 ms,... duration ~<1ms */ |
832 if(ticksdiff >= Scheduler.counterSPIdata100msec * 100 + 10) | 835 if(ticksdiff >= Scheduler.counterSPIdata100msec * 100 + 10) |
833 { | 836 { |
834 if(SPI_Evaluate_RX_Data()!=0) /* did we receive something ? */ | 837 if(SPI_Evaluate_RX_Data()!=0) /* did we receive something ? */ |