From 6b325f68ff2b6b75fa67cc14f1e8cbbf588f7d4a Mon Sep 17 00:00:00 2001 From: ooxi Date: Sun, 9 May 2021 11:46:44 +0200 Subject: [PATCH] Fix defaults.h include guard While `defaults.h' checked for a `defaults_h' define to be present, it does not declare such a define. Thus it's easy to mess up including the file twice. --- grbl/defaults.h | 1 + 1 file changed, 1 insertion(+) diff --git a/grbl/defaults.h b/grbl/defaults.h index 2e461300..8686bde3 100644 --- a/grbl/defaults.h +++ b/grbl/defaults.h @@ -26,6 +26,7 @@ NOTE: Ensure one and only one of these DEFAULTS_XXX values is defined in config.h */ #ifndef defaults_h +#define defaults_h #ifdef DEFAULTS_GENERIC // Grbl generic default settings. Should work across different machines.