Fix some warnings 2

This commit is contained in:
Henrik Ekblad
2015-10-05 07:26:38 +02:00
parent fa83e0921c
commit 676e504fda
4 changed files with 6 additions and 5 deletions
@@ -50,7 +50,7 @@ typedef struct
IPAddress gateway(MY_IP_GATEWAY_ADDRESS);
IPAddress subnet(MY_IP_SUBNET_ADDRESS);
#endif
static bool clientsConnected[MY_GATEWAY_MAX_CLIENTS];
#endif
#if defined(MY_USE_UDP)
@@ -61,7 +61,6 @@ typedef struct
static EthernetClient clients[MY_GATEWAY_MAX_CLIENTS];
static bool clientsConnected[MY_GATEWAY_MAX_CLIENTS];
static inputBuffer inputString[MY_GATEWAY_MAX_CLIENTS];
@@ -10,9 +10,10 @@
#define MY_RADIO_NRF24
//#define MY_RADIO_RFM69
#include "MySensor.h"
#include <SPI.h>
#include <MySensor.h>
// 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
// other connections are controlled by the SPI library)
@@ -34,6 +34,7 @@
#define MY_RADIO_NRF24
//#define MY_RADIO_RFM69
#include <SPI.h>
#include <MySensor.h>
unsigned long SLEEP_TIME = 120000; // Sleep time between reports (in milliseconds)
@@ -51,7 +51,7 @@
#include "avr/pgmspace.h"
#include "util/delay.h"
#include "stdlib.h"
#include "drivers/AVR/SPI/SPI.h"
#include <SPI.h>
class PWF_AS3935
{