From df320209c3f968198283353824040ca003ae5614 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Mon, 5 Feb 2018 16:48:38 -0600 Subject: [PATCH] Patch hex_print_routines.* include order --- Marlin/hex_print_routines.cpp | 2 +- Marlin/hex_print_routines.h | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/Marlin/hex_print_routines.cpp b/Marlin/hex_print_routines.cpp index 38f2ff7b2..bb019a822 100644 --- a/Marlin/hex_print_routines.cpp +++ b/Marlin/hex_print_routines.cpp @@ -21,11 +21,11 @@ */ #include "MarlinConfig.h" +#include "gcode.h" #if ENABLED(AUTO_BED_LEVELING_UBL) || ENABLED(M100_FREE_MEMORY_WATCHER) || ENABLED(DEBUG_GCODE_PARSER) #include "Marlin.h" -#include "gcode.h" #include "hex_print_routines.h" static char _hex[7] = "0x0000"; diff --git a/Marlin/hex_print_routines.h b/Marlin/hex_print_routines.h index 1ca61e311..05f1e7991 100644 --- a/Marlin/hex_print_routines.h +++ b/Marlin/hex_print_routines.h @@ -23,10 +23,7 @@ #ifndef HEX_PRINT_ROUTINES_H #define HEX_PRINT_ROUTINES_H -#include "MarlinConfig.h" -#include "gcode.h" - -#if ENABLED(AUTO_BED_LEVELING_UBL) || ENABLED(M100_FREE_MEMORY_WATCHER) || ENABLED(DEBUG_GCODE_PARSER) +#include // // Utility functions to create and print hex strings as nybble, byte, and word. @@ -44,5 +41,4 @@ void print_hex_byte(const uint8_t b); void print_hex_word(const uint16_t w); void print_hex_address(const void * const w); -#endif // AUTO_BED_LEVELING_UBL || M100_FREE_MEMORY_WATCHER || DEBUG_GCODE_PARSER #endif // HEX_PRINT_ROUTINES_H