From 5cf141065e9d5f61929fc29bbf3bca2b38780079 Mon Sep 17 00:00:00 2001 From: rusefi Date: Fri, 13 Dec 2019 18:37:11 -0500 Subject: [PATCH] fixing build is my most favourite time! --- unit_tests/global.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/unit_tests/global.h b/unit_tests/global.h index 8742efd29e..3f3ead46ee 100644 --- a/unit_tests/global.h +++ b/unit_tests/global.h @@ -18,8 +18,8 @@ typedef uint32_t iomode_t; typedef uint32_t ioportid_t; typedef uint32_t ioportmask_t; -//#define chThdGetSelfX() 0 -//#define getRemainingStack(x) (999999) +// just a stub implementation for unit tests +#define EXPECTED_REMAINING_STACK 1 #define getCurrentRemainingStack() (999999) // this is needed by all DECLARE_ENGINE_PARAMETER_* usages