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>
This commit is contained in:
AndreiCherniaev 2022-06-02 21:03:37 +04:00 committed by GitHub
parent 719ceee352
commit daf544fbc4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -61,6 +61,8 @@
#define portTIMSK TIMSK0 #define portTIMSK TIMSK0
#define portTIFR TIFR0 #define portTIFR TIFR0
#else
#error "No Timer defined for scheduler"
#endif #endif
/*-----------------------------------------------------------*/ /*-----------------------------------------------------------*/