move #import statements to the top of the file

pull/121/head
Jeff Lehman 2 years ago
parent d3c44a1413
commit cd5154e77d

@ -7,6 +7,9 @@
#ifndef __FDRS_FUNCTIONS_H__
#define __FDRS_FUNCTIONS_H__
#include <fdrs_lora.h>
#include <fdrs_espnow.h>
#ifdef ESP8266
#include <ESP8266WiFi.h>
#include <espnow.h>
@ -319,11 +322,6 @@ static uint16_t crc16_update(uint16_t crc, uint8_t a)
return crc;
}
#include <fdrs_lora.h>
#include <fdrs_espnow.h>
void getSerial() {
String incomingString;
if (UART_IF.available()){

Loading…
Cancel
Save