From 07bf9cea3147fe7c218495365f0764243ea8286b 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