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
|
@ -10,9 +10,10 @@
|
|||
* of the contiki-specific files here, the sketch should just work.
|
||||
*/
|
||||
|
||||
#include <Wire.h>
|
||||
|
||||
extern "C" {
|
||||
|
||||
#include <Wire.h>
|
||||
#include "Adafruit_HTU21DF.h"
|
||||
#include "rest-engine.h"
|
||||
|
||||
|
|
Loading…
Reference in a new issue