mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-27 13:56:24 +00:00
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.
This commit is contained in:
parent
1a447d0047
commit
0a2f60fab4
@ -29,7 +29,11 @@
|
|||||||
#include "temperature.h"
|
#include "temperature.h"
|
||||||
#include "thermistortables.h"
|
#include "thermistortables.h"
|
||||||
#include "language.h"
|
#include "language.h"
|
||||||
#include "spi.h"
|
|
||||||
|
#if ENABLED(HEATER_0_USES_MAX6675)
|
||||||
|
#include "spi.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#if ENABLED(BABYSTEPPING)
|
#if ENABLED(BABYSTEPPING)
|
||||||
#include "stepper.h"
|
#include "stepper.h"
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user