Quellcode durchsuchen

fix src & dep includes

main
John Robinson vor 3 Jahren
Ursprung
Commit
4ec41af467
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
5 geänderte Dateien mit 9 neuen und 9 gelöschten Zeilen
  1. +1
    -1
      include/wire/WireIMXRT.h
  2. +3
    -3
      src/wire/Wire.cpp
  3. +2
    -2
      src/wire/WireIMXRT.cpp
  4. +2
    -2
      src/wire/WireKinetis.cpp
  5. +1
    -1
      src/wire/utility/twi.c

+ 1
- 1
include/wire/WireIMXRT.h Datei anzeigen



#if defined(__IMXRT1052__) || defined(__IMXRT1062__) #if defined(__IMXRT1052__) || defined(__IMXRT1062__)


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


#define BUFFER_LENGTH 32 #define BUFFER_LENGTH 32

+ 3
- 3
src/wire/Wire.cpp Datei anzeigen

Modified 2012 by Todd Krein (todd@krein.org) to implement repeated starts Modified 2012 by Todd Krein (todd@krein.org) to implement repeated starts
*/ */


#include <Arduino.h>
#include <core/Arduino.h>


#if defined(__AVR__) #if defined(__AVR__)


#include "Wire.h"
#include "wire/Wire.h"


extern "C" { extern "C" {
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <inttypes.h> #include <inttypes.h>
#include "twi.h"
#include "wire/utility/twi.h"
} }





+ 2
- 2
src/wire/WireIMXRT.cpp Datei anzeigen



#include "Wire.h"
#include "wire/Wire.h"
#include <elapsedmillis/elapsedMillis.h>


#if defined(__IMXRT1062__) #if defined(__IMXRT1062__)



+ 2
- 2
src/wire/WireKinetis.cpp Datei anzeigen

* THE SOFTWARE. * THE SOFTWARE.
*/ */


#include <Arduino.h>
#include "Wire.h"
#include <core/Arduino.h>
#include "wire/Wire.h"


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



+ 1
- 1
src/wire/utility/twi.c Datei anzeigen

#include <avr/io.h> #include <avr/io.h>
#include <avr/interrupt.h> #include <avr/interrupt.h>
#include <compat/twi.h> #include <compat/twi.h>
#include "Arduino.h" // for digitalWrite
#include <core/Arduino.h> // for digitalWrite




#ifndef cbi #ifndef cbi

Laden…
Abbrechen
Speichern