Make the compilation of FM support conditional.

This commit is contained in:
Jonathan Naylor 2023-06-29 15:57:13 +01:00
parent 7fa24d7f57
commit 5a12f49a6e
12 changed files with 275 additions and 17 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
@ -17,10 +17,11 @@
*/
#include "FMNetwork.h"
#include "Defines.h"
#include "Utils.h"
#include "Log.h"
#if defined(USE_FM)
#include <cstdio>
#include <cassert>
#include <cstring>
@ -396,3 +397,6 @@ bool CFMNetwork::writeStart()
return true;
}
}
#endif