Compare commits
2 commits
35ba6e9975
...
e20eabd203
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e20eabd203 | ||
|
|
8fcfb66893 |
3 changed files with 19 additions and 4 deletions
|
|
@ -7,6 +7,14 @@ single running list until the first versioned release.
|
|||
|
||||
## Unreleased
|
||||
|
||||
_Nothing yet._
|
||||
|
||||
## 0.5.0
|
||||
|
||||
- **Fix:** un-muting during an active QSO left the LED **off** instead of returning
|
||||
to **green**. On un-mute the green RX LED is now restored from the current receive
|
||||
state (active DMR slot or FM/digital signal), so an in-progress call lights green
|
||||
again.
|
||||
- **`MANUAL.md`** — a user-facing feature & usage guide covering both inherited
|
||||
OpenGD77 features and FreeTRX additions, each tagged 🟢 [FreeTRX] or ⚪
|
||||
[OpenGD77]. Includes the spectrum scope (VFO sweep, hold `#`), channel add/delete,
|
||||
|
|
|
|||
|
|
@ -5,9 +5,9 @@
|
|||
#define _FREETRX_VERSION_H_
|
||||
|
||||
#define FREETRX_VERSION_MAJOR 0
|
||||
#define FREETRX_VERSION_MINOR 4
|
||||
#define FREETRX_VERSION_MINOR 5
|
||||
#define FREETRX_VERSION_PATCH 0
|
||||
|
||||
#define FREETRX_VERSION "0.4.0"
|
||||
#define FREETRX_VERSION "0.5.0"
|
||||
|
||||
#endif // _FREETRX_VERSION_H_
|
||||
|
|
|
|||
|
|
@ -39,6 +39,7 @@
|
|||
#include "io/Leds.h"
|
||||
#include "interfaces/adc.h"
|
||||
#include "hardware/radioHardwareInterface.h"
|
||||
#include "hardware/HR-C6000.h" // slotState, for restoring the green RX LED after unmute
|
||||
|
||||
#include "io/buttons.h"
|
||||
#include "usb/usb_com.h"
|
||||
|
|
@ -1447,9 +1448,15 @@ void applicationMainTask(void)
|
|||
}
|
||||
else if (muteFlashActive)
|
||||
{
|
||||
// Just unmuted: release our forced LED state.
|
||||
// Just unmuted: stop the red flash and restore the green LED to the
|
||||
// current RX state, so a QSO in progress lights green again instead of
|
||||
// staying dark. Green is normally lit for an active DMR slot (matching
|
||||
// our filter) or a received FM/digital signal; if nothing is being
|
||||
// received it stays off. The normal RX code then keeps it correct.
|
||||
bool rxGreen = (slotState == DMR_STATE_RX_1) || (slotState == DMR_STATE_RX_2) ||
|
||||
currentRadioDevice->analogSignalReceived || currentRadioDevice->digitalSignalReceived;
|
||||
LedWrite(LED_RED, 0);
|
||||
LedWrite(LED_GREEN, 0);
|
||||
LedWrite(LED_GREEN, (rxGreen ? 1 : 0));
|
||||
muteFlashActive = false;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue