Added MGOS library init code and Arduino.h include.

This commit is contained in:
Dirk Jahnke 2018-11-05 11:33:14 +01:00
parent fc9ec2fb2c
commit 4f9506abb5
3 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,3 @@
#include "mgos.h"
bool mgos_arduino_radiohead_init(void);

View File

@ -668,6 +668,8 @@
#ifndef RadioHead_h
#define RadioHead_h
#include "Arduino.h"
// Official version numbers are maintained automatically by Makefile:
#define RH_VERSION_MAJOR 1
#define RH_VERSION_MINOR 61

View File

@ -0,0 +1,5 @@
#include "mgos_arduino_radiohead.h"
bool mgos_arduino_radiohead_init(void) {
return true;
}