Browse Source

fix src & dep includes

main
John Robinson 3 years ago
parent
commit
4ec41af467
No known key found for this signature in database
5 changed files with 9 additions and 9 deletions
  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 View File



#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 View File

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 View File



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


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



+ 2
- 2
src/wire/WireKinetis.cpp View File

* 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 View File

#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

Loading…
Cancel
Save