Mercurial > public > ostc4
changeset 156:1fbdb45db701 FlipDisplay
Removed special indicator for DMA transfer error
author | Ideenmodellierer |
---|---|
date | Sun, 03 Mar 2019 19:18:51 +0100 |
parents | 4fd8bbc7d841 |
children | 018586760ca7 |
files | Discovery/Src/data_exchange_main.c |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/Discovery/Src/data_exchange_main.c Sun Mar 03 17:46:50 2019 +0100 +++ b/Discovery/Src/data_exchange_main.c Sun Mar 03 19:18:51 2019 +0100 @@ -135,12 +135,11 @@ count_DataEX_Error_Handler++; last_error_DataEX_Error_Handler = answer; - /* A wrong footer indicates a communication interrupt. Statemachine is waiting for new data which is not received because no new transmission is triggered */ + /* A wrong footer indicates a communication interrupt. State machine is waiting for new data which is not received because no new transmission is triggered */ /* ==> Abort data exchange to enable a new RX / TX cycle */ if(answer == HAL_BUSY) { HAL_SPI_Abort_IT(&cpu2DmaSpi); - data_old__lost_connection_to_slave_counter_total += 1000; /* add significant error offset to indicate error causing an abort event */ } return;