From 0e6509906b7a4fda957490d5ce3ab547b810961a Mon Sep 17 00:00:00 2001 From: rusefi Date: Sat, 13 Jul 2019 10:32:36 -0400 Subject: [PATCH] longer field names --- firmware/console/binary/tunerstudio.cpp | 4 ++-- firmware/hw_layer/sensors/cj125.cpp | 4 ++-- firmware/hw_layer/servo.cpp | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/firmware/console/binary/tunerstudio.cpp b/firmware/console/binary/tunerstudio.cpp index 03b0ac5d6a..6404fd8144 100644 --- a/firmware/console/binary/tunerstudio.cpp +++ b/firmware/console/binary/tunerstudio.cpp @@ -117,7 +117,7 @@ static efitimems_t previousWriteReportMs = 0; static ts_channel_s tsChannel; // this thread wants a bit extra stack -static THD_WORKING_AREA(tsThreadStack, 3 * UTILITY_THREAD_STACK_SIZE); +static THD_WORKING_AREA(tunerstudioThreadStack, 3 * UTILITY_THREAD_STACK_SIZE); extern TunerStudioOutputChannels tsOutputChannels; @@ -856,7 +856,7 @@ void startTunerStudioConnectivity(void) { addConsoleAction("bluetooth_cancel", bluetoothCancel); #endif /* EFI_BLUETOOTH_SETUP */ - chThdCreateStatic(tsThreadStack, sizeof(tsThreadStack), NORMALPRIO, (tfunc_t)tsThreadEntryPoint, NULL); + chThdCreateStatic(tunerstudioThreadStack, sizeof(tunerstudioThreadStack), NORMALPRIO, (tfunc_t)tsThreadEntryPoint, NULL); } #endif diff --git a/firmware/hw_layer/sensors/cj125.cpp b/firmware/hw_layer/sensors/cj125.cpp index 635a07faff..18b346a0ca 100644 --- a/firmware/hw_layer/sensors/cj125.cpp +++ b/firmware/hw_layer/sensors/cj125.cpp @@ -34,7 +34,7 @@ static unsigned char rx_buff[1]; static CJ125 globalInstance; -static THD_WORKING_AREA(cjThreadStack, UTILITY_THREAD_STACK_SIZE); +static THD_WORKING_AREA(cj125ThreadStack, UTILITY_THREAD_STACK_SIZE); static SPIDriver *driver; @@ -578,7 +578,7 @@ void initCJ125(Logging *sharedLogger DECLARE_ENGINE_PARAMETER_SUFFIX) { addConsoleAction("cj125", cjStartTest); addConsoleAction("cj125_calibrate", cjStartCalibration); - chThdCreateStatic(cjThreadStack, sizeof(cjThreadStack), LOWPRIO, (tfunc_t)(void*) cjThread, NULL); + chThdCreateStatic(cj125ThreadStack, sizeof(cj125ThreadStack), LOWPRIO, (tfunc_t)(void*) cjThread, NULL); } #endif /* EFI_CJ125 && HAL_USE_SPI */ diff --git a/firmware/hw_layer/servo.cpp b/firmware/hw_layer/servo.cpp index b3f3500463..191657dd73 100644 --- a/firmware/hw_layer/servo.cpp +++ b/firmware/hw_layer/servo.cpp @@ -20,7 +20,7 @@ EXTERN_ENGINE; -THD_WORKING_AREA(seThreadStack, UTILITY_THREAD_STACK_SIZE); +THD_WORKING_AREA(servoThreadStack, UTILITY_THREAD_STACK_SIZE); static OutputPin pins[SERVO_COUNT]; @@ -72,7 +72,7 @@ void initServo(void) { pins[i].initPin("servo", p); } - chThdCreateStatic(seThreadStack, sizeof(seThreadStack), NORMALPRIO, (tfunc_t)(void*) seThread, NULL); + chThdCreateStatic(servoThreadStack, sizeof(servoThreadStack), NORMALPRIO, (tfunc_t)(void*) seThread, NULL); } #endif /* EFI_SERVO */