Browse Source

Add missing SPCR definitions. (#243)

teensy4-core
tni 7 years ago
parent
commit
528c6e5182
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      teensy3/avr_emulation.cpp

+ 4
- 0
teensy3/avr_emulation.cpp View File

#include "SPIFIFO.h" #include "SPIFIFO.h"


uint8_t SPCRemulation::pinout = 0; uint8_t SPCRemulation::pinout = 0;
SPCRemulation SPCR;
#if defined(KINETISL) #if defined(KINETISL)
uint8_t SPCR1emulation::pinout = 0; uint8_t SPCR1emulation::pinout = 0;
SPCR1emulation SPCR1;
#endif #endif
#if defined(__MK64FX512__) || defined(__MK66FX1M0__) #if defined(__MK64FX512__) || defined(__MK66FX1M0__)
uint8_t SPCR1emulation::pinout = 0; uint8_t SPCR1emulation::pinout = 0;
SPCR1emulation SPCR1;
uint8_t SPCR2emulation::pinout = 0; uint8_t SPCR2emulation::pinout = 0;
SPCR2emulation SPCR2;
#endif #endif
#ifdef HAS_SPIFIFO #ifdef HAS_SPIFIFO



Loading…
Cancel
Save