Skip to content

Commit

Permalink
Adding ifdef to brzo.
Browse files Browse the repository at this point in the history
  • Loading branch information
finitespace committed Sep 23, 2017
1 parent 370b8f5 commit 7780bc6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/BME280BRZO_I2C.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ of www.endmemo.com, altitude equation courtesy of NOAA, and dew point equation
courtesy of Brian McNoldy at http://andrew.rsmas.miami.edu.
*/

#ifdef _BRZO_I2C_h
#include "brzo_i2c.h"

#include "BME280BRZO_I2C.h"

/****************************************************************/
Expand Down Expand Up @@ -110,3 +112,5 @@ bool BME280BRZO_I2C::Initialize()
brzo_i2c_setup(D2,D1,I2C_ACK_TIMEOUT);
return BME280::Initialize();
}

#endif

0 comments on commit 7780bc6

Please sign in to comment.