# HG changeset patch # User heinrichsweikamp # Date 1679848470 -7200 # Node ID aa6006975e767588c3db73fbfa026b18b0b09657 # Parent 32529dfea3b006a7fca479ce7a6812f93dba28d7 increase HAL_Delay to 10ms for cold-start-button reset + typos and comment changes diff -r 32529dfea3b0 -r aa6006975e76 Common/Inc/data_exchange.h --- a/Common/Inc/data_exchange.h Sun Mar 26 11:27:29 2023 +0200 +++ b/Common/Inc/data_exchange.h Sun Mar 26 18:34:30 2023 +0200 @@ -197,7 +197,7 @@ uint8_t sensor_map[EXT_INTERFACE_SENSOR_CNT]; uint8_t SPARE_OldWireless[5]; /* 64 - 12 for extADC - 6 for CO2 - 34 for sensor (+dummmy) - sensor map*/ // PIC data - uint8_t button_setting[4]; /* see dependency to SLiveData->buttonPICdata */ + uint8_t button_setting[4]; /* see dependency to SlaveData->buttonPICdata */ uint8_t SPARE1; //debug uint32_t pressure_uTick; diff -r 32529dfea3b0 -r aa6006975e76 Discovery/Inc/timer.h --- a/Discovery/Inc/timer.h Sun Mar 26 11:27:29 2023 +0200 +++ b/Discovery/Inc/timer.h Sun Mar 26 18:34:30 2023 +0200 @@ -3,7 +3,7 @@ /// /// \file Discovery/Inc/timer.h /// \brief Contains timer related functionality like stopwatch and security stop -/// \author Peter Ryser +/// \author heinrichs weikamp gmbh /// \date /// /// $Id$ diff -r 32529dfea3b0 -r aa6006975e76 Discovery/Src/data_exchange_main.c --- a/Discovery/Src/data_exchange_main.c Sun Mar 26 11:27:29 2023 +0200 +++ b/Discovery/Src/data_exchange_main.c Sun Mar 26 18:34:30 2023 +0200 @@ -283,7 +283,7 @@ } else { - if(data_old__lost_connection_to_slave_counter_temp >= 2) /* error reaction is triggered whenever communication could not be reestablishen within two cycles */ + if(data_old__lost_connection_to_slave_counter_temp >= 2) /* error reaction is triggered whenever communication could not be reestablished within two cycles */ { data_old__lost_connection_to_slave_counter_temp = 0; if(DataEX_check_header_and_footer_shifted()) @@ -299,7 +299,7 @@ { HAL_SPI_Abort_IT(&cpu2DmaSpi); } - /* reset of own DMA does not work ==> request reset of slave dma by indicating shifted receiption */ + /* reset of own DMA does not work ==> request reset of slave dma by indicating shifted reception */ if (data_old__lost_connection_to_slave_counter_retry == 1) { dataOut.header.checkCode[SPI_HEADER_INDEX_RX_STATE] = SPI_RX_STATE_SHIFTED; diff -r 32529dfea3b0 -r aa6006975e76 Discovery/Src/gfx_engine.c --- a/Discovery/Src/gfx_engine.c Sun Mar 26 11:27:29 2023 +0200 +++ b/Discovery/Src/gfx_engine.c Sun Mar 26 18:34:30 2023 +0200 @@ -1763,8 +1763,7 @@ /** ****************************************************************************** - * @brief GFX writeGfx_write_label_varstring. / Write string with all parameters and font color options - * @author Peter Ryser + * @brief GFX writeGfx_write_label_varstring. / Write string with all parameters and font color options heinrichs weikamp gmbh * @version V0.0.1 * @date 22-April-2014 ****************************************************************************** diff -r 32529dfea3b0 -r aa6006975e76 Discovery/Src/show_logbook.c --- a/Discovery/Src/show_logbook.c Sun Mar 26 11:27:29 2023 +0200 +++ b/Discovery/Src/show_logbook.c Sun Mar 26 18:34:30 2023 +0200 @@ -72,7 +72,7 @@ /** ****************************************************************************** * @brief GFX write label. / print coordinate system & depth graph - * @author Peter Ryser + * @author heinrichs weikamp gmbh * @version V0.0.1 * @date 07-July-2014 ****************************************************************************** @@ -417,7 +417,7 @@ /** ****************************************************************************** * @brief show_logbook_logbook_show_log_page1 / - * @author Peter Ryser + * @author heinrichs weikamp gmbh * @version V0.0.1 * @date 07-July-2014 ****************************************************************************** diff -r 32529dfea3b0 -r aa6006975e76 Discovery/Src/test_vpm.c --- a/Discovery/Src/test_vpm.c Sun Mar 26 11:27:29 2023 +0200 +++ b/Discovery/Src/test_vpm.c Sun Mar 26 18:34:30 2023 +0200 @@ -352,7 +352,7 @@ ****************************************************************************** * @brief test 3 * Trimix 10/70 - * everything else identical to test1 by Peter Ryser + * everything else identical to test1 by heinrichs weikamp gmbh * @version V0.0.1 * @date 19-April-2014 * @retval 1 for result is similar to DRx code, 0 otherwise diff -r 32529dfea3b0 -r aa6006975e76 Discovery/Src/timer.c --- a/Discovery/Src/timer.c Sun Mar 26 11:27:29 2023 +0200 +++ b/Discovery/Src/timer.c Sun Mar 26 18:34:30 2023 +0200 @@ -3,7 +3,7 @@ /// /// \file Discovery/Src/timer.c /// \brief Contains timer related functionality like stopwatch and security stop -/// \author Peter Ryser & heinrichs weikamp gmbh +/// \author heinrichs weikamp gmbh & heinrichs weikamp gmbh /// \date 5. Feb.2015 (maybe) /// /// \details diff -r 32529dfea3b0 -r aa6006975e76 Small_CPU/Inc/scheduler.h --- a/Small_CPU/Inc/scheduler.h Sun Mar 26 11:27:29 2023 +0200 +++ b/Small_CPU/Inc/scheduler.h Sun Mar 26 18:34:30 2023 +0200 @@ -40,7 +40,7 @@ #define SCHEDULER_TICK_EXE1SEC (980u) /* tick count based on cycle start which is used to trigger functions which */ /* shall be executed once in a second (20ms before cycle restarts) */ -#define SPI_COM_TIMEOUT_START (5) /* *100 ms timeout to avoid tiemout e.g. after Main wakeup */ +#define SPI_COM_TIMEOUT_START (5) /* *100 ms timeout to avoid timeout e.g. after Main wakeup */ #define SPI_COM_TIMEOUT_COMMON (3) /* *100ms shorter timeout during normal operation to have a faster error reaction */ typedef struct diff -r 32529dfea3b0 -r aa6006975e76 Small_CPU/Src/baseCPU2.c --- a/Small_CPU/Src/baseCPU2.c Sun Mar 26 11:27:29 2023 +0200 +++ b/Small_CPU/Src/baseCPU2.c Sun Mar 26 18:34:30 2023 +0200 @@ -375,12 +375,12 @@ if (!scheduleSetButtonResponsiveness()) { - HAL_Delay(1); + HAL_Delay(10); if (!scheduleSetButtonResponsiveness()) // send again, if problem it's not my problem here. { - HAL_Delay(1); + HAL_Delay(10); scheduleSetButtonResponsiveness(); // init - HAL_Delay(1); + HAL_Delay(10); } } } diff -r 32529dfea3b0 -r aa6006975e76 Small_CPU/Src/scheduler.c --- a/Small_CPU/Src/scheduler.c Sun Mar 26 11:27:29 2023 +0200 +++ b/Small_CPU/Src/scheduler.c Sun Mar 26 18:34:30 2023 +0200 @@ -476,7 +476,7 @@ /** ****************************************************************************** * @brief scheduleDiveMode. / Dive Mode: Main Loop - * @author Peter Ryser + * @author heinrichs weikamp gmbh * @version V0.0.1 * @date 22-April-2014 ****************************************************************************** @@ -726,7 +726,7 @@ /** ****************************************************************************** * @brief scheduleSurfaceMode / surface mode: Main Loop - * @author Peter Ryser + * @author heinrichs weikamp gmbh * @version V0.0.1 * @date 22-April-2014 ****************************************************************************** @@ -1216,7 +1216,7 @@ /** ****************************************************************************** * @brief scheduleUpdateLifeData / calculates tissues - * @author Peter Ryser + * @author heinrichs weikamp gmbh * @version V0.0.1 * @date 22-April-2014 ****************************************************************************** @@ -1474,7 +1474,7 @@ /** ****************************************************************************** * @brief vpm_crush / calls vpm calc_crushing_pressure every four seconds during descend - * @author Peter Ryser + * @author heinrichs weikamp gmbh * @version V0.0.1 * @date 22-April-2014 ******************************************************************************