Fix serial.h including itself
This commit is contained in:
		@@ -61,6 +61,8 @@ void serial_spaces(uint8_t count) { count *= (PROPORTIONAL_FONT_RATIO); while (c
 | 
			
		||||
 | 
			
		||||
#if ENABLED(DEBUG_LEVELING_FEATURE)
 | 
			
		||||
 | 
			
		||||
  #include "enum.h"
 | 
			
		||||
 | 
			
		||||
  void print_xyz(const char* prefix, const char* suffix, const float x, const float y, const float z) {
 | 
			
		||||
    serialprintPGM(prefix);
 | 
			
		||||
    SERIAL_CHAR('(');
 | 
			
		||||
 
 | 
			
		||||
@@ -23,7 +23,8 @@
 | 
			
		||||
#ifndef __SERIAL_H__
 | 
			
		||||
#define __SERIAL_H__
 | 
			
		||||
 | 
			
		||||
#include "../inc/MarlinConfig.h"
 | 
			
		||||
#include "../inc/MarlinConfigPre.h"
 | 
			
		||||
#include HAL_PATH(../HAL, HAL.h)
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * Define debug bit-masks
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user