Update SanityCheck.h

fix typo in variable name.
This commit is contained in:
borland1 2020-06-01 20:34:29 -07:00 committed by GitHub
parent b7d019b118
commit 2947dc3444
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2695,7 +2695,7 @@ static_assert( _ARR_TEST(3,0) && _ARR_TEST(3,1) && _ARR_TEST(3,2)
#endif
#ifdef CUSTOM_MENU_MAIN_GCODE_20
constexpr char chr20 = CUSTOM_MENU_MAIN_GCODE_20[strlen(CUSTOM_MENU_MAIN_GCODE_20) - 1];
static_assert(chr20 != '\n' && _chr20 != '\r', "CUSTOM_MENU_MAIN_GCODE_20 cannot have a newline at the end. Please remove it.");
static_assert(chr20 != '\n' && chr20 != '\r', "CUSTOM_MENU_MAIN_GCODE_20 cannot have a newline at the end. Please remove it.");
#endif
#ifdef CUSTOM_MENU_MAIN_GCODE_21
constexpr char chr21 = CUSTOM_MENU_MAIN_GCODE_21[strlen(CUSTOM_MENU_MAIN_GCODE_21) - 1];