mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2026-04-04 22:17:38 +00:00
Add busy lockout to remote mode handling.
This commit is contained in:
parent
caea12741d
commit
335b56f4bd
14 changed files with 200 additions and 115 deletions
|
|
@ -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
|
||||
|
|
@ -122,3 +122,11 @@ void CDMRControl::clock()
|
|||
m_slot1.clock();
|
||||
m_slot2.clock();
|
||||
}
|
||||
|
||||
bool CDMRControl::isBusy() const
|
||||
{
|
||||
if (m_slot1.isBusy())
|
||||
return true;
|
||||
|
||||
return m_slot2.isBusy();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue