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

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

#include <Arduino.h>

#if defined(__AVR__)

#include "Wire.h"

+ 1
- 1
Wire.h View File

@@ -28,7 +28,7 @@
#elif defined(__AVR__)

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

#define BUFFER_LENGTH 32
#define WIRE_HAS_END 1

Loading…
Cancel
Save