# HG changeset patch # User heinrichsweikamp # Date 1552246242 -3600 # Node ID c659fda83e44e08245f63de52ef4865c2473c5f5 # Parent 4b5b7a40e594eccf2687f7dc37667697dd872508 Minor: Button defaults, release date adjusted, use SPI_SHOW_SYNC_STATS diff -r 4b5b7a40e594 -r c659fda83e44 Common/Inc/global_constants.h --- a/Common/Inc/global_constants.h Sun Mar 10 15:39:55 2019 +0000 +++ b/Common/Inc/global_constants.h Sun Mar 10 20:30:42 2019 +0100 @@ -28,7 +28,7 @@ #define GLOBAL_CONSTANTS_H //Rename it ahead. //Buttons section -#define DEFAULT_BUTTONRESPONSIVENESS_GUI 30 +#define DEFAULT_BUTTONRESPONSIVENESS_GUI 85 #define MIN_BUTTONRESPONSIVENESS_GUI 30 //50 (-10correction) #define MAX_BUTTONRESPONSIVENESS_GUI 110//100 (+10correction) #define MIN_BUTTONRESPONSIVENESS MIN_BUTTONRESPONSIVENESS_GUI-20 //MIN_BUTTONRESPONSIVENESS_GUI-20 correction @@ -37,7 +37,7 @@ // Spi sync data debug -#define SPI_SHOW_SYNC_STATS 1 +#define SPI_SHOW_SYNC_STATS 0 #define SPI_MIN_ERROR_SHOW 10 // SPI header by index used for synchronization check (package sequence counter) diff -r 4b5b7a40e594 -r c659fda83e44 Discovery/Src/settings.c --- a/Discovery/Src/settings.c Sun Mar 10 15:39:55 2019 +0000 +++ b/Discovery/Src/settings.c Sun Mar 10 20:30:42 2019 +0100 @@ -56,14 +56,14 @@ .versionFirst = 1, .versionSecond = 4, .versionThird = 7, - .versionBeta = 1, + .versionBeta = 0, /* 4 bytes with trailing 0 */ .signature = "mh", - .release_year = 18, - .release_month = 8, - .release_day = 22, + .release_year = 19, + .release_month = 3, + .release_day = 10, .release_sub = 0, /* max 48 with trailing 0 */ diff -r 4b5b7a40e594 -r c659fda83e44 Discovery/Src/tHome.c --- a/Discovery/Src/tHome.c Sun Mar 10 15:39:55 2019 +0000 +++ b/Discovery/Src/tHome.c Sun Mar 10 20:30:42 2019 +0100 @@ -427,7 +427,7 @@ uint8_t tHome_show_lost_connection_count(GFX_DrawCfgScreen *ScreenToWriteOn) { if(!SPI_MIN_ERROR_SHOW) return 0; - if(DataEX_lost_connection_count()>=SPI_MIN_ERROR_SHOW){ + if(DataEX_lost_connection_count()>=SPI_MIN_ERROR_SHOW && SPI_SHOW_SYNC_STATS){ char text[64]; diff -r 4b5b7a40e594 -r c659fda83e44 Small_CPU/Src/baseCPU2.c --- a/Small_CPU/Src/baseCPU2.c Sun Mar 10 15:39:55 2019 +0000 +++ b/Small_CPU/Src/baseCPU2.c Sun Mar 10 20:30:42 2019 +0100 @@ -171,9 +171,9 @@ /* 4 bytes with trailing 0 */ .signature = "mh", - .release_year = 18, - .release_month = 7, - .release_day = 29, + .release_year = 19, + .release_month = 3, + .release_day = 10, .release_sub = 0, /* max 48 with trailing 0 */ diff -r 4b5b7a40e594 -r c659fda83e44 Small_CPU/Src/scheduler.c --- a/Small_CPU/Src/scheduler.c Sun Mar 10 15:39:55 2019 +0000 +++ b/Small_CPU/Src/scheduler.c Sun Mar 10 20:30:42 2019 +0100 @@ -116,7 +116,7 @@ global.aktualGas[0] = Air; global.lifeData.actualGas = global.aktualGas[0]; - const uint8_t button_standard_sensitivity = ((2400-( 40 *24))/10)+15; + const uint8_t button_standard_sensitivity = 85; global.ButtonResponsiveness[0] = button_standard_sensitivity; global.ButtonResponsiveness[1] = button_standard_sensitivity; global.ButtonResponsiveness[2] = button_standard_sensitivity; diff -r 4b5b7a40e594 -r c659fda83e44 ostc4pack/OSTC4_Firmware.bin Binary file ostc4pack/OSTC4_Firmware.bin has changed diff -r 4b5b7a40e594 -r c659fda83e44 ostc4pack/OSTC4_RTE.bin Binary file ostc4pack/OSTC4_RTE.bin has changed diff -r 4b5b7a40e594 -r c659fda83e44 ostc4pack/OSTC4_RTE_upload.bin Binary file ostc4pack/OSTC4_RTE_upload.bin has changed diff -r 4b5b7a40e594 -r c659fda83e44 ostc4pack/OSTC4_firmware_upload.bin Binary file ostc4pack/OSTC4_firmware_upload.bin has changed