Skip to content

Commit 12e754d

Browse files
committed
Moving some includes to the main header file.
1 parent f18300a commit 12e754d

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

src/SparkFunBME280.cpp

-5
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,6 @@ Distributed as-is; no warranty is given.
2121
//See SparkFunBME280.h for additional topology notes.
2222

2323
#include "SparkFunBME280.h"
24-
#include "stdint.h"
25-
#include <math.h>
26-
27-
#include "Wire.h"
28-
#include "SPI.h"
2924

3025
//****************************************************************************//
3126
//

src/SparkFunBME280.h

+1
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ Distributed as-is; no warranty is given.
3737
#endif
3838

3939
#include <Wire.h>
40+
#include <SPI.h>
4041

4142
#define I2C_MODE 0
4243
#define SPI_MODE 1

0 commit comments

Comments
 (0)