mirror of
https://github.com/timmbogner/Farm-Data-Relay-System
synced 2024-11-08 13:10:29 +00:00
move #import statements to the top of the file
This commit is contained in:
parent
d3c44a1413
commit
cd5154e77d
@ -7,6 +7,9 @@
|
|||||||
#ifndef __FDRS_FUNCTIONS_H__
|
#ifndef __FDRS_FUNCTIONS_H__
|
||||||
#define __FDRS_FUNCTIONS_H__
|
#define __FDRS_FUNCTIONS_H__
|
||||||
|
|
||||||
|
#include <fdrs_lora.h>
|
||||||
|
#include <fdrs_espnow.h>
|
||||||
|
|
||||||
#ifdef ESP8266
|
#ifdef ESP8266
|
||||||
#include <ESP8266WiFi.h>
|
#include <ESP8266WiFi.h>
|
||||||
#include <espnow.h>
|
#include <espnow.h>
|
||||||
@ -319,11 +322,6 @@ static uint16_t crc16_update(uint16_t crc, uint8_t a)
|
|||||||
return crc;
|
return crc;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#include <fdrs_lora.h>
|
|
||||||
#include <fdrs_espnow.h>
|
|
||||||
|
|
||||||
void getSerial() {
|
void getSerial() {
|
||||||
String incomingString;
|
String incomingString;
|
||||||
if (UART_IF.available()){
|
if (UART_IF.available()){
|
||||||
|
Loading…
Reference in New Issue
Block a user