Patch hex_print_routines.* include order
This commit is contained in:
parent
8da92b6823
commit
df320209c3
@ -21,11 +21,11 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "MarlinConfig.h"
|
#include "MarlinConfig.h"
|
||||||
|
#include "gcode.h"
|
||||||
|
|
||||||
#if ENABLED(AUTO_BED_LEVELING_UBL) || ENABLED(M100_FREE_MEMORY_WATCHER) || ENABLED(DEBUG_GCODE_PARSER)
|
#if ENABLED(AUTO_BED_LEVELING_UBL) || ENABLED(M100_FREE_MEMORY_WATCHER) || ENABLED(DEBUG_GCODE_PARSER)
|
||||||
|
|
||||||
#include "Marlin.h"
|
#include "Marlin.h"
|
||||||
#include "gcode.h"
|
|
||||||
#include "hex_print_routines.h"
|
#include "hex_print_routines.h"
|
||||||
|
|
||||||
static char _hex[7] = "0x0000";
|
static char _hex[7] = "0x0000";
|
||||||
|
@ -23,10 +23,7 @@
|
|||||||
#ifndef HEX_PRINT_ROUTINES_H
|
#ifndef HEX_PRINT_ROUTINES_H
|
||||||
#define HEX_PRINT_ROUTINES_H
|
#define HEX_PRINT_ROUTINES_H
|
||||||
|
|
||||||
#include "MarlinConfig.h"
|
#include <stdint.h>
|
||||||
#include "gcode.h"
|
|
||||||
|
|
||||||
#if ENABLED(AUTO_BED_LEVELING_UBL) || ENABLED(M100_FREE_MEMORY_WATCHER) || ENABLED(DEBUG_GCODE_PARSER)
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// Utility functions to create and print hex strings as nybble, byte, and word.
|
// 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_word(const uint16_t w);
|
||||||
void print_hex_address(const void * const 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
|
#endif // HEX_PRINT_ROUTINES_H
|
||||||
|
Loading…
x
Reference in New Issue
Block a user