Browse Source

Fix serial.h including itself

pull/1/head
Scott Lahteine 6 years ago
parent
commit
d4fde91222
  1. 2
      Marlin/src/core/serial.cpp
  2. 3
      Marlin/src/core/serial.h

2
Marlin/src/core/serial.cpp

@ -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('(');

3
Marlin/src/core/serial.h

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