Mercurial > public > ostc4
diff Small_CPU/Src/uart.c @ 936:3029f0332f4f Evo_2_23
GNSS introduced power saving mode:
In the previous implementation the modul always did a cold start. In the new one the power saving functions of the module are activated. The module will be switched to intervall mode while entering sleep. If the computer remains in sleep for a long time then the GNSS modul will be switchen of completly.
author | Ideenmodellierer |
---|---|
date | Sun, 08 Dec 2024 22:03:07 +0100 |
parents | 43055e069bd1 |
children |
line wrap: on
line diff
--- a/Small_CPU/Src/uart.c Sun Dec 08 21:59:22 2024 +0100 +++ b/Small_CPU/Src/uart.c Sun Dec 08 22:03:07 2024 +0100 @@ -38,7 +38,7 @@ DMA_HandleTypeDef hdma_usart1_rx, hdma_usart1_tx; uint8_t rxBuffer[CHUNK_SIZE * CHUNKS_PER_BUFFER]; /* The complete buffer has a X * chunk size to allow variations in buffer read time */ -uint8_t txBuffer[CHUNK_SIZE]; /* tx uses less bytes */ +uint8_t txBuffer[TX_BUF_SIZE]; /* tx uses less bytes */ uint8_t txBufferQue[TX_BUF_SIZE]; /* In MUX mode command may be send shortly after each other => allow q 1 entry que */