Fix serial.h including itself

2.0.x
Scott Lahteine 7 years ago
parent a431013eb7
commit d4fde91222

@ -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

Loading…
Cancel
Save