Browse Source

Include Arduino.h (for pre-compiled header speedup)

main
PaulStoffregen 6 years ago
parent
commit
877a05eb59
2 changed files with 3 additions and 1 deletions
  1. +2
    -0
      Wire.cpp
  2. +1
    -1
      Wire.h

+ 2
- 0
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>

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


#include "Wire.h" #include "Wire.h"

+ 1
- 1
Wire.h View File

#elif defined(__AVR__) #elif defined(__AVR__)


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


#define BUFFER_LENGTH 32 #define BUFFER_LENGTH 32
#define WIRE_HAS_END 1 #define WIRE_HAS_END 1

Loading…
Cancel
Save