Add function prototypes for gateway examples to compile in Arduino

This commit is contained in:
Jeff Lehman 2022-08-01 14:23:29 -05:00
parent 52069eae4d
commit fdc941658e
2 changed files with 10 additions and 0 deletions

View File

@ -258,6 +258,11 @@ const char* mqtt_pass = NULL;
#endif //USE_WIFI
// Function prototypes
void transmitLoRa(uint16_t*, DataReading*, uint8_t);
void transmitLoRa(uint16_t*, SystemPacket*, uint8_t);
static uint16_t crc16_update(uint16_t, uint8_t);
#ifdef USE_ESPNOW
// Set ESP-NOW send and receive callbacks for either ESP8266 or ESP32
#if defined(ESP8266)

View File

@ -256,6 +256,11 @@ const char* mqtt_pass = NULL;
#endif //USE_WIFI
// Function prototypes
void transmitLoRa(uint16_t*, DataReading*, uint8_t);
void transmitLoRa(uint16_t*, SystemPacket*, uint8_t);
static uint16_t crc16_update(uint16_t, uint8_t);
#ifdef USE_ESPNOW
// Set ESP-NOW send and receive callbacks for either ESP8266 or ESP32
#if defined(ESP8266)