Browse Source

#ifdef tweaks

pull/1/head
Scott Lahteine 7 years ago
parent
commit
0891b58c30
  1. 2
      Marlin/Marlin.ino
  2. 2
      Marlin/src/HAL/HAL_LPC1768/u8g_com_HAL_LPC1768_sw_spi.cpp
  3. 2
      Marlin/src/libs/softspi.h

2
Marlin/Marlin.ino

@ -50,7 +50,7 @@
#if ENABLED(HAVE_TMCDRIVER)
#include <SPI.h>
#if defined(STM32F7)
#ifdef STM32F7
#include "src/HAL/HAL_STM32F7/TMC2660.h"
#else
#include <TMC26XStepper.h>

2
Marlin/src/HAL/HAL_LPC1768/u8g_com_HAL_LPC1768_sw_spi.cpp

@ -55,7 +55,7 @@
*/
#if defined (TARGET_LPC1768)
#ifdef TARGET_LPC1768
#include <U8glib.h>
#include "SoftwareSPI.h"

2
Marlin/src/libs/softspi.h

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

Loading…
Cancel
Save