Browse Source

Improve check for Teensy 3.x boards

main
PaulStoffregen 5 years ago
parent
commit
c525e05e39
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      WireKinetis.cpp
  2. +1
    -1
      WireKinetis.h

+ 1
- 1
WireKinetis.cpp View File

#include <Arduino.h> #include <Arduino.h>
#include "Wire.h" #include "Wire.h"


#if defined(__arm__) && defined(TEENSYDUINO) && (defined(KINETISK) || defined(KINETISL))
#if defined(__arm__) && defined(TEENSYDUINO) && (defined(__MKL26Z64__) || defined(__MK20DX128__) || defined(__MK20DX256__) || defined(__MK64FX512__) || defined(__MK66FX1M0__))


#include "kinetis.h" #include "kinetis.h"
#include <string.h> // for memcpy #include <string.h> // for memcpy

+ 1
- 1
WireKinetis.h View File

#ifndef TwoWireKinetis_h #ifndef TwoWireKinetis_h
#define TwoWireKinetis_h #define TwoWireKinetis_h


#if defined(__arm__) && defined(TEENSYDUINO) && (defined(KINETISK) || defined(KINETISL))
#if defined(__arm__) && defined(TEENSYDUINO) && (defined(__MKL26Z64__) || defined(__MK20DX128__) || defined(__MK20DX256__) || defined(__MK64FX512__) || defined(__MK66FX1M0__))


#include <Arduino.h> #include <Arduino.h>
#include <stdint.h> #include <stdint.h>

Loading…
Cancel
Save