Make compiling AX.25 conditional.

This commit is contained in:
Jonathan Naylor
2023-06-29 11:59:52 +01:00
parent 9d41681990
commit 11fc87896c
8 changed files with 147 additions and 57 deletions

View File

@@ -20,6 +20,9 @@
#define AX25Control_H
#include "AX25Network.h"
#include "Defines.h"
#if defined(USE_AX25)
#include <string>
@@ -44,10 +47,9 @@ private:
void decodeJSON(const char* source, const unsigned char* data, unsigned int length);
bool decodeAddress(const unsigned char* data, std::string& text, bool isDigi = false) const;
bool decodeAddressJSON(const unsigned char* data, std::string& text, bool& isDigi) const;
bool openFile();
bool writeFile(const unsigned char* data, unsigned int length);
void closeFile();
};
#endif
#endif