Add busy lockout to remote mode handling.

This commit is contained in:
Jonathan Naylor
2019-01-10 09:05:15 +00:00
parent caea12741d
commit 335b56f4bd
14 changed files with 200 additions and 115 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2015,2016,2017,2018 Jonathan Naylor, G4KLX
* Copyright (C) 2015-2019 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
@@ -1081,3 +1081,8 @@ void CNXDNControl::closeFile()
m_fp = NULL;
}
}
bool CNXDNControl::isBusy() const
{
return m_rfState != RS_RF_LISTENING || m_netState != RS_NET_IDLE;
}