Skip to content

Commit 708021c

Browse files
committed
changed placement of Arduino include to solve compile issues for the MKR 1010 board
1 parent 8069150 commit 708021c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/qwiic_i2c.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
// Class provide an abstract interface to the I2C device
4747

4848
#include "qwiic_i2c.h"
49-
#include <Arduino.h>
49+
5050

5151
// What is the max buffer size for this platform.
5252

src/qwiic_i2c.h

+1
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@
5353
//
5454
// This class is focused on Aurduino..
5555

56+
#include <Arduino.h>
5657
#include <Wire.h>
5758

5859
class QwI2C {

0 commit comments

Comments
 (0)