diff --git a/src/fdrs_functions.h b/src/fdrs_functions.h index 6b05c18..be2252b 100644 --- a/src/fdrs_functions.h +++ b/src/fdrs_functions.h @@ -7,9 +7,6 @@ #ifndef __FDRS_FUNCTIONS_H__ #define __FDRS_FUNCTIONS_H__ -#include -#include - #ifdef ESP8266 #include #include @@ -293,7 +290,6 @@ void transmitLoRa(uint16_t*, DataReading*, uint8_t); void transmitLoRa(uint16_t*, SystemPacket*, uint8_t); static uint16_t crc16_update(uint16_t, uint8_t); - // CRC16 from https://github.com/4-20ma/ModbusMaster/blob/3a05ff87677a9bdd8e027d6906dc05ca15ca8ade/src/util/crc16.h#L71 /** @ingroup util_crc16 @@ -322,6 +318,10 @@ static uint16_t crc16_update(uint16_t crc, uint8_t a) return crc; } +#include +#include + + void getSerial() { String incomingString; if (UART_IF.available()){