Fix compile error
Wire.h is a C++ include-file and may not be within 'extern "C"'.
This commit is contained in:
parent
910dc981b5
commit
7f09f96e88
1 changed files with 2 additions and 1 deletions
|
@ -10,9 +10,10 @@
|
||||||
* of the contiki-specific files here, the sketch should just work.
|
* of the contiki-specific files here, the sketch should just work.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <Wire.h>
|
||||||
|
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
|
||||||
#include <Wire.h>
|
|
||||||
#include "Adafruit_HTU21DF.h"
|
#include "Adafruit_HTU21DF.h"
|
||||||
#include "rest-engine.h"
|
#include "rest-engine.h"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue