mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2026-04-06 15:04:18 +00:00
Add more intelligence to the remote control.
This commit is contained in:
parent
455755328a
commit
76badb28f1
7 changed files with 27 additions and 13 deletions
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (C) 2018 by Jonathan Naylor G4KLX
|
||||
* Copyright (C) 2018,2019 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
|
||||
|
|
@ -113,6 +113,8 @@ void CPOCSAGNetwork::enable(bool enabled)
|
|||
{
|
||||
if (enabled && !m_enabled)
|
||||
reset();
|
||||
else if (!enabled && m_enabled)
|
||||
m_buffer.clear();
|
||||
|
||||
unsigned char c = enabled ? 0x00U : 0xFFU;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue