diff --git a/TouchGFX/simulator/gcc/Makefile b/TouchGFX/simulator/gcc/Makefile index c655cf3..1481c1b 100644 --- a/TouchGFX/simulator/gcc/Makefile +++ b/TouchGFX/simulator/gcc/Makefile @@ -20,7 +20,7 @@ all clean assets: $(error Spaces not allowed in path) else -ADDITIONAL_SOURCES := +ADDITIONAL_SOURCES := $(application_path)/../Core/Src/vehicle_state.c ADDITIONAL_INCLUDE_PATHS := $(application_path)/../Core/Inc ADDITIONAL_LIBRARY_PATHS := ADDITIONAL_LIBRARIES := diff --git a/TouchGFX/simulator/main.cpp b/TouchGFX/simulator/main.cpp index ba1cb34..c5a0dc4 100644 --- a/TouchGFX/simulator/main.cpp +++ b/TouchGFX/simulator/main.cpp @@ -49,7 +49,6 @@ int CALLBACK WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, // Stubs extern "C" { -VehicleState vehicle_state; void params_dec(ParamType param) {} void params_inc(ParamType param) {} void params_broadcast(ParamType param) {}