Fix some warnings 2
This commit is contained in:
@@ -50,7 +50,7 @@ typedef struct
|
|||||||
IPAddress gateway(MY_IP_GATEWAY_ADDRESS);
|
IPAddress gateway(MY_IP_GATEWAY_ADDRESS);
|
||||||
IPAddress subnet(MY_IP_SUBNET_ADDRESS);
|
IPAddress subnet(MY_IP_SUBNET_ADDRESS);
|
||||||
#endif
|
#endif
|
||||||
|
static bool clientsConnected[MY_GATEWAY_MAX_CLIENTS];
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(MY_USE_UDP)
|
#if defined(MY_USE_UDP)
|
||||||
@@ -61,7 +61,6 @@ typedef struct
|
|||||||
|
|
||||||
|
|
||||||
static EthernetClient clients[MY_GATEWAY_MAX_CLIENTS];
|
static EthernetClient clients[MY_GATEWAY_MAX_CLIENTS];
|
||||||
static bool clientsConnected[MY_GATEWAY_MAX_CLIENTS];
|
|
||||||
static inputBuffer inputString[MY_GATEWAY_MAX_CLIENTS];
|
static inputBuffer inputString[MY_GATEWAY_MAX_CLIENTS];
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -10,9 +10,10 @@
|
|||||||
#define MY_RADIO_NRF24
|
#define MY_RADIO_NRF24
|
||||||
//#define MY_RADIO_RFM69
|
//#define MY_RADIO_RFM69
|
||||||
|
|
||||||
#include "MySensor.h"
|
#include <SPI.h>
|
||||||
|
#include <MySensor.h>
|
||||||
// include Playing With Fusion AXS3935 libraries
|
// include Playing With Fusion AXS3935 libraries
|
||||||
#include "PWFusion_AS3935.h"
|
#include <PWFusion_AS3935.h>
|
||||||
|
|
||||||
// setup CS pins used for the connection with the lightning sensor
|
// setup CS pins used for the connection with the lightning sensor
|
||||||
// other connections are controlled by the SPI library)
|
// other connections are controlled by the SPI library)
|
||||||
|
|||||||
@@ -34,6 +34,7 @@
|
|||||||
#define MY_RADIO_NRF24
|
#define MY_RADIO_NRF24
|
||||||
//#define MY_RADIO_RFM69
|
//#define MY_RADIO_RFM69
|
||||||
|
|
||||||
|
#include <SPI.h>
|
||||||
#include <MySensor.h>
|
#include <MySensor.h>
|
||||||
|
|
||||||
unsigned long SLEEP_TIME = 120000; // Sleep time between reports (in milliseconds)
|
unsigned long SLEEP_TIME = 120000; // Sleep time between reports (in milliseconds)
|
||||||
|
|||||||
@@ -51,7 +51,7 @@
|
|||||||
#include "avr/pgmspace.h"
|
#include "avr/pgmspace.h"
|
||||||
#include "util/delay.h"
|
#include "util/delay.h"
|
||||||
#include "stdlib.h"
|
#include "stdlib.h"
|
||||||
#include "drivers/AVR/SPI/SPI.h"
|
#include <SPI.h>
|
||||||
|
|
||||||
class PWF_AS3935
|
class PWF_AS3935
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user