#ifdef tweaks
This commit is contained in:
parent
428f164d02
commit
0891b58c30
|
@ -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>
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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…
Reference in a new issue