comparison Small_CPU/Src/uartProtocol_GNSS.c @ 922:7c996354b8ac Evo_2_23

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 effadaa3a1f7
comparison
equal deleted inserted replaced
921:eb4109d7d1e9 922:7c996354b8ac
60 } 60 }
61 61
62 62
63 void uartGnss_SendCmd(uint8_t GnssCmd) 63 void uartGnss_SendCmd(uint8_t GnssCmd)
64 { 64 {
65 uint8_t* pData; 65 const uint8_t* pData;
66 uint8_t txLength = 0; 66 uint8_t txLength = 0;
67 67
68 switch (GnssCmd) 68 switch (GnssCmd)
69 { 69 {
70 case GNSSCMD_LOADCONF_0: pData = configUBX; 70 case GNSSCMD_LOADCONF_0: pData = configUBX;