Browse Source

Fix missed includes from HAL macro patch (#10416)

pull/1/head
Chris Pepper 7 years ago
committed by Scott Lahteine
parent
commit
c9aed73987
  1. 2
      Marlin/src/HAL/I2cEeprom.cpp
  2. 2
      Marlin/src/HAL/SpiEeprom.cpp
  3. 1
      Marlin/src/inc/MarlinConfig.h
  4. 1
      Marlin/src/inc/MarlinConfigPre.h

2
Marlin/src/HAL/I2cEeprom.cpp

@ -33,7 +33,7 @@
// Includes // Includes
// -------------------------------------------------------------------------- // --------------------------------------------------------------------------
#include "HAL.h" #include HAL_PATH(., HAL.h)
#include <Wire.h> #include <Wire.h>
// -------------------------------------------------------------------------- // --------------------------------------------------------------------------

2
Marlin/src/HAL/SpiEeprom.cpp

@ -29,7 +29,7 @@
#if ENABLED(SPI_EEPROM) #if ENABLED(SPI_EEPROM)
#include "HAL.h" #include HAL_PATH(., HAL.h)
#define CMD_WREN 6 // WREN #define CMD_WREN 6 // WREN
#define CMD_READ 2 // WRITE #define CMD_READ 2 // WRITE

1
Marlin/src/inc/MarlinConfig.h

@ -25,7 +25,6 @@
#include "MarlinConfigPre.h" #include "MarlinConfigPre.h"
#include "../HAL/platforms.h"
#include HAL_PATH(../HAL, HAL.h) #include HAL_PATH(../HAL, HAL.h)
#include "../pins/pins.h" #include "../pins/pins.h"

1
Marlin/src/inc/MarlinConfigPre.h

@ -23,6 +23,7 @@
#ifndef _MARLIN_CONFIGPRE_H_ #ifndef _MARLIN_CONFIGPRE_H_
#define _MARLIN_CONFIGPRE_H_ #define _MARLIN_CONFIGPRE_H_
#include "../HAL/platforms.h"
#include "../core/boards.h" #include "../core/boards.h"
#include "../core/macros.h" #include "../core/macros.h"
#include "Version.h" #include "Version.h"

Loading…
Cancel
Save