Misc build fixes (#21413)

Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
This commit is contained in:
kpishere
2021-03-24 10:14:11 -04:00
committed by Scott Lahteine
parent 375404290d
commit e087271d48
3 changed files with 7 additions and 5 deletions

View File

@@ -45,6 +45,10 @@
* 7 | 11
*/
#if ENABLED(AZSMZ_12864) && DISABLED(ALLOW_SAM3X8E)
#error "No pins defined for RAMPS with AZSMZ_12864."
#endif
#include "env_validate.h"
// Custom flags and defines for the build
@@ -720,9 +724,6 @@
#elif ENABLED(AZSMZ_12864)
// Pins only defined for RAMPS_SMART currently
#if DISABLED(IS_RAMPS_SMART)
#error "No pins defined for RAMPS with AZSMZ_12864."
#endif
#elif IS_TFTGLCD_PANEL