From 8925bca933bd434e68a6478b47426e490f6c6cd7 Mon Sep 17 00:00:00 2001 From: rusefi Date: Thu, 30 Mar 2017 19:55:45 -0400 Subject: [PATCH] same pre-merge --- firmware/console/binary/tunerstudio_io.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/console/binary/tunerstudio_io.cpp b/firmware/console/binary/tunerstudio_io.cpp index 29b0aff381..380305f87a 100644 --- a/firmware/console/binary/tunerstudio_io.cpp +++ b/firmware/console/binary/tunerstudio_io.cpp @@ -68,7 +68,7 @@ BaseChannel * getTsSerialDevice(void) { } void tunerStudioWriteData(ts_channel_s *tsChannel, const uint8_t * buffer, int size) { - efiAssertVoid(getRemainingStack(chThdSelf()) > 64, "tunerStudioWriteData"); + efiAssertVoid(getRemainingStack(chThdGetSelfX()) > 64, "tunerStudioWriteData"); #if EFI_SIMULATOR || defined(__DOXYGEN__) logMsg("chSequentialStreamWrite [%d]\r\n", size); #endif