From 45972ef6e0822de9201c551cb5eab517e0703417 Mon Sep 17 00:00:00 2001 From: Andrey Gusakov Date: Mon, 4 Nov 2024 13:57:33 +0300 Subject: [PATCH] rusefi config: increase BLOCKING_FACTOR Keep it more that a half of TS_TOTAL_OUTPUT_SIZE allows TS to read whole livedata in two requestes. This increases refresh rate while still not wasting much of RAM for scratchBuffer. --- firmware/integration/rusefi_config.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/firmware/integration/rusefi_config.txt b/firmware/integration/rusefi_config.txt index 2a315508cc..c96d7fd34a 100644 --- a/firmware/integration/rusefi_config.txt +++ b/firmware/integration/rusefi_config.txt @@ -118,7 +118,9 @@ struct_no_prefix persistent_config_s struct_no_prefix engine_configuration_s ! see 'blockingFactor' in rusefi.ini -#define BLOCKING_FACTOR 750 +! please keep it bigger than (TS_TOTAL_OUTPUT_SIZE / 2) so whole livedata can be +! transfered using two chunks, this will give us 500 Hz refresh rate. +#define BLOCKING_FACTOR 1024 #define SENT_INPUT_COUNT 1