changeset 172:c659fda83e44

Minor: Button defaults, release date adjusted, use SPI_SHOW_SYNC_STATS
author heinrichsweikamp
date Sun, 10 Mar 2019 20:30:42 +0100
parents 4b5b7a40e594
children 05c770dc2911 458f16cda15c
files Common/Inc/global_constants.h Discovery/Src/settings.c Discovery/Src/tHome.c Small_CPU/Src/baseCPU2.c Small_CPU/Src/scheduler.c ostc4pack/OSTC4_Firmware.bin ostc4pack/OSTC4_RTE.bin ostc4pack/OSTC4_RTE_upload.bin ostc4pack/OSTC4_firmware_upload.bin
diffstat 9 files changed, 11 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- 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)
--- 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 */
--- 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];
 
--- 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 */
--- 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;
Binary file ostc4pack/OSTC4_Firmware.bin has changed
Binary file ostc4pack/OSTC4_RTE.bin has changed
Binary file ostc4pack/OSTC4_RTE_upload.bin has changed
Binary file ostc4pack/OSTC4_firmware_upload.bin has changed