From daf544fbc4973d57a08906a6ac40ec35b913e729 Mon Sep 17 00:00:00 2001 From: AndreiCherniaev Date: Thu, 2 Jun 2022 21:03:37 +0400 Subject: [PATCH] add extra check for compiler time (#499) minor change to add extra check for compiler time to prevent bad config Co-authored-by: Gaurav-Aggarwal-AWS <33462878+aggarg@users.noreply.github.com> --- portable/ThirdParty/GCC/ATmega/port.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/portable/ThirdParty/GCC/ATmega/port.c b/portable/ThirdParty/GCC/ATmega/port.c index 827794985..f998cdb28 100644 --- a/portable/ThirdParty/GCC/ATmega/port.c +++ b/portable/ThirdParty/GCC/ATmega/port.c @@ -61,6 +61,8 @@ #define portTIMSK TIMSK0 #define portTIFR TIFR0 +#else + #error "No Timer defined for scheduler" #endif /*-----------------------------------------------------------*/