Skip to content

Commit

Permalink
fixed stm32 compile issue and __has_include compiler problem
Browse files Browse the repository at this point in the history
  • Loading branch information
justind000 committed Nov 22, 2019
1 parent 7c45bf1 commit f322e11
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion library.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"maintainer": true
}
],
"version": "1.1.3",
"version": "1.1.4",
"frameworks": "arduino",
"platforms": "*"
}
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=Isolated ISE Probe Interface
version=1.1.3
version=1.1.4
author=uFire
maintainer=justin@ufire.co
sentence=An isolated Ion Specific Electrode Probe Interface
Expand Down
4 changes: 2 additions & 2 deletions src/uFire_ISE.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@
uFire_ISE::uFire_ISE(uint8_t i2c_address)
{
_address = i2c_address;
#ifndef ARDUINO_SAMD_VARIANT_COMPLIANCE
#if !defined (ARDUINO_SAMD_VARIANT_COMPLIANCE) || !defined (_VARIANT_ARDUINO_STM32_)
Wire.begin();
#endif // ifndef ARDUINO_SAMD_VARIANT_COMPLIANCE
}

uFire_ISE::uFire_ISE()
{
_address = ISE_PROBE_I2C;
#ifndef ARDUINO_SAMD_VARIANT_COMPLIANCE
#if !defined (ARDUINO_SAMD_VARIANT_COMPLIANCE) || !defined (_VARIANT_ARDUINO_STM32_)
Wire.begin();
#endif // ifndef ARDUINO_SAMD_VARIANT_COMPLIANCE
}
Expand Down
2 changes: 1 addition & 1 deletion src/uFire_ORP_JSON.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#if !defined (ESP8266)
#ifdef __has_include
#if __has_include("ArduinoJson.h")
#include "uFire_ORP_JSON.h"
#include <ArduinoJson.h>
Expand Down
2 changes: 1 addition & 1 deletion src/uFire_ORP_MP.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#if !defined (ESP8266)
#ifdef __has_include
#if __has_include("ArduinoJson.h")
#include "uFire_ORP_MP.h"
#include <ArduinoJson.h>
Expand Down
2 changes: 1 addition & 1 deletion src/uFire_pH_JSON.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#if !defined (ESP8266)
#ifdef __has_include
#if __has_include("ArduinoJson.h")
#include "uFire_pH_JSON.h"
#include <ArduinoJson.h>
Expand Down
2 changes: 1 addition & 1 deletion src/uFire_pH_MP.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#if !defined (ESP8266)
#ifdef __has_include
#if __has_include("ArduinoJson.h")
#include "uFire_pH_MP.h"
#include <ArduinoJson.h>
Expand Down

0 comments on commit f322e11

Please sign in to comment.