From 22612b3b9282d9ab787b9a93f82eb2b7be81d856 Mon Sep 17 00:00:00 2001 From: Martin Date: Thu, 1 Dec 2022 11:06:08 +0100 Subject: [PATCH] fix build error: "make" gives error, only "TARGET=X make" builds tinySA4.* undefined TARGET defines both TINYSA3 and TINYSA4 any value of TARGET builds the F303 version it is not possible to build the tinySA (TINYSA3) version Signed-off-by: Martin --- nanovna.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nanovna.h b/nanovna.h index e006d91..4372d5f 100644 --- a/nanovna.h +++ b/nanovna.h @@ -18,7 +18,7 @@ */ #include "ch.h" -//#ifdef TINYSA_F303 +#ifdef TINYSA_F303 #ifdef TINYSA_F072 #error "Remove comment for #ifdef TINYSA_F303" #endif @@ -26,7 +26,7 @@ #define TINYSA4 #endif #define TINYSA4_PROTO -//#endif +#endif #ifdef TINYSA_F072 #ifdef TINYSA_F303