Sfoglia il codice sorgente

fix src & dep includes

main
John Robinson 3 anni fa
parent
commit
4ec41af467
Non sono state trovate chiavi note per questa firma nel database
5 ha cambiato i file con 9 aggiunte e 9 eliminazioni
  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 Vedi File

@@ -29,7 +29,7 @@

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

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

#define BUFFER_LENGTH 32

+ 3
- 3
src/wire/Wire.cpp Vedi File

@@ -19,17 +19,17 @@
Modified 2012 by Todd Krein (todd@krein.org) to implement repeated starts
*/

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

#if defined(__AVR__)

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

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



+ 2
- 2
src/wire/WireIMXRT.cpp Vedi File

@@ -1,6 +1,6 @@

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

#if defined(__IMXRT1062__)


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

@@ -24,8 +24,8 @@
* 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__))


+ 1
- 1
src/wire/utility/twi.c Vedi File

@@ -26,7 +26,7 @@
#include <avr/io.h>
#include <avr/interrupt.h>
#include <compat/twi.h>
#include "Arduino.h" // for digitalWrite
#include <core/Arduino.h> // for digitalWrite


#ifndef cbi

Loading…
Annulla
Salva