Compare commits

..

No commits in common. "e20eabd203185a154f6a22e14fca1f48e701104e" and "35ba6e99750123e6102ac5ae5649885e2f8bd3da" have entirely different histories.

3 changed files with 4 additions and 19 deletions

View file

@ -7,14 +7,6 @@ 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,

View file

@ -5,9 +5,9 @@
#define _FREETRX_VERSION_H_
#define FREETRX_VERSION_MAJOR 0
#define FREETRX_VERSION_MINOR 5
#define FREETRX_VERSION_MINOR 4
#define FREETRX_VERSION_PATCH 0
#define FREETRX_VERSION "0.5.0"
#define FREETRX_VERSION "0.4.0"
#endif // _FREETRX_VERSION_H_

View file

@ -39,7 +39,6 @@
#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"
@ -1448,15 +1447,9 @@ void applicationMainTask(void)
}
else if (muteFlashActive)
{
// 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;
// Just unmuted: release our forced LED state.
LedWrite(LED_RED, 0);
LedWrite(LED_GREEN, (rxGreen ? 1 : 0));
LedWrite(LED_GREEN, 0);
muteFlashActive = false;
}
}