Browse Source

Make spi.h inclusion conditional

spi.h is only needed if HEATER_0_USES_MAX6675 is defined, so making its inclusion conditional on HEATER_0_USES_MAX6675 being defined.
pull/1/head
benlye 8 years ago
committed by GitHub
parent
commit
0a2f60fab4
  1. 6
      Marlin/temperature.cpp

6
Marlin/temperature.cpp

@ -29,7 +29,11 @@
#include "temperature.h"
#include "thermistortables.h"
#include "language.h"
#include "spi.h"
#if ENABLED(HEATER_0_USES_MAX6675)
#include "spi.h"
#endif
#if ENABLED(BABYSTEPPING)
#include "stepper.h"
#endif

Loading…
Cancel
Save