Browse Source

Merge pull request #6342 from benlye/benlye-fix-softspi

Fix softspi variant conditional for 1284p
pull/1/head
Scott Lahteine 8 years ago
committed by GitHub
parent
commit
857dec0990
  1. 2
      Marlin/softspi.h
  2. 6
      Marlin/temperature.cpp

2
Marlin/softspi.h

@ -195,7 +195,7 @@ static const pin_map_t pinMap[] = {
|| defined(__AVR_ATmega324__)\
|| defined(__AVR_ATmega16__)
#ifdef defined(VARIANT_MIGHTY)
#if defined(VARIANT_MIGHTY)
// Mighty Layout
static const pin_map_t pinMap[] = {
{&DDRB, &PINB, &PORTB, 0}, // B0 0

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