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

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2020,2021 by Jonathan Naylor G4KLX
* Copyright (C) 2020,2021,2023 by Jonathan Naylor G4KLX
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -19,6 +19,10 @@
#ifndef AX25Network_H
#define AX25Network_H
#include "Defines.h"
#if defined(USE_AX25)
#if defined(_WIN32) || defined(_WIN64)
#include "UARTController.h"
#else
@@ -60,3 +64,6 @@ private:
};
#endif
#endif