#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)
#include <SPI.h>
#if defined(STM32F7)
#ifdef STM32F7
#include "src/HAL/HAL_STM32F7/TMC2660.h"
#else
#include <TMC26XStepper.h>

View file

@ -55,7 +55,7 @@
*/
#if defined (TARGET_LPC1768)
#ifdef TARGET_LPC1768
#include <U8glib.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;
}
#endif // TARGET_LPC1768
#endif // TARGET_LPC1768

View file

@ -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