Re-factored LIBRARY_VERSION to a separate Version.h file for management by the MySensors Bot.
This commit is contained in:
@@ -13,6 +13,7 @@
|
|||||||
#define Sensor_h
|
#define Sensor_h
|
||||||
|
|
||||||
#include "Config.h"
|
#include "Config.h"
|
||||||
|
#include "Version.h"
|
||||||
#include <nRF24L01.h>
|
#include <nRF24L01.h>
|
||||||
#include <RF24.h>
|
#include <RF24.h>
|
||||||
#include <RF24_config.h>
|
#include <RF24_config.h>
|
||||||
@@ -29,7 +30,6 @@
|
|||||||
#define debug(x,...)
|
#define debug(x,...)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define LIBRARY_VERSION "1.2+"
|
|
||||||
#define PROTOCOL_VERSION 1
|
#define PROTOCOL_VERSION 1
|
||||||
#define BAUD_RATE 115200
|
#define BAUD_RATE 115200
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,11 @@
|
|||||||
|
/***
|
||||||
|
* This file defines the Sensor library version number
|
||||||
|
* Normally, contributors should not modify this directly
|
||||||
|
* as it is manaaged by the MySensors Bot.
|
||||||
|
*/
|
||||||
|
#ifndef Version_h
|
||||||
|
#define Version_h
|
||||||
|
|
||||||
|
#define LIBRARY_VERSION "1.3beta2 (b27735a)"
|
||||||
|
|
||||||
|
#endif
|
||||||
Reference in New Issue
Block a user