#ifdef tweaks

This commit is contained in:
Scott Lahteine 2018-02-04 16:29:30 -06:00
parent 428f164d02
commit 0891b58c30
3 changed files with 4 additions and 4 deletions

View File

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

View File

@ -55,7 +55,7 @@
*/ */
#if defined (TARGET_LPC1768) #ifdef TARGET_LPC1768
#include <U8glib.h> #include <U8glib.h>
#include "SoftwareSPI.h" #include "SoftwareSPI.h"
@ -125,4 +125,4 @@ uint8_t u8g_com_HAL_LPC1768_sw_spi_fn(u8g_t *u8g, uint8_t msg, uint8_t arg_val,
return 1; return 1;
} }
#endif // TARGET_LPC1768 #endif // TARGET_LPC1768

View File

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