mirror of
https://github.com/felis/USB_Host_Shield_2.0.git
synced 2024-03-22 11:31:26 +01:00
Only use spi4teensy3 on Teensy 3.x
This commit is contained in:
parent
71aeadeab1
commit
e78795af22
1 changed files with 4 additions and 6 deletions
10
settings.h
10
settings.h
|
@ -80,17 +80,15 @@ e-mail : support@circuitsathome.com
|
|||
#endif
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
// Set to 1 to use the faster spi4teensy3 driver.
|
||||
// Set to 1 to use the faster spi4teensy3 driver on Teensy 3.x
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
#ifndef USE_SPI4TEENSY3
|
||||
#if defined(CORE_TEENSY) && (defined(__MK20DX128__) || defined(__MK20DX256__) || defined(__MK64FX512__) || defined(__MK66FX1M0__))
|
||||
#define USE_SPI4TEENSY3 1
|
||||
#endif
|
||||
|
||||
// Disabled on the Teensy LC, as it is incompatible for now
|
||||
#if defined(__MKL26Z64__)
|
||||
#undef USE_SPI4TEENSY3
|
||||
#else
|
||||
#define USE_SPI4TEENSY3 0
|
||||
#endif
|
||||
#endif
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
// AUTOMATIC Settings
|
||||
|
|
Loading…
Reference in a new issue