Skip to content

Commit e5d4b37

Browse files
authored
Merge pull request #16 from aditaa/release/v24.10-alpha3
Release alpha3: disable menu access
2 parents 46efe02 + 858ff16 commit e5d4b37

File tree

4 files changed

+28
-0
lines changed

4 files changed

+28
-0
lines changed

app/app.c

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1400,6 +1400,20 @@ static void APP_ProcessKey(KEY_Code_t Key, bool bKeyPressed, bool bKeyHeld)
14001400
return;
14011401
}
14021402

1403+
if (Key == KEY_MENU) {
1404+
if (!bKeyPressed) {
1405+
return;
1406+
}
1407+
if (gWasFKeyPressed) {
1408+
gWasFKeyPressed = false;
1409+
gUpdateStatus = true;
1410+
}
1411+
if (!bKeyHeld) {
1412+
gBeepToPlay = BEEP_500HZ_60MS_DOUBLE_BEEP_OPTIONAL;
1413+
}
1414+
goto Skip;
1415+
}
1416+
14031417
bFlag = false;
14041418

14051419
if (gPttWasPressed && Key == KEY_PTT) {

ci/run.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ ROOT="/app"
55
ARTIFACT_DIR="${ROOT}/compiled-firmware"
66

77
mkdir -p "${ARTIFACT_DIR}"
8+
rm -f "${ARTIFACT_DIR}"/loaner-firmware*.bin
89

910
echo "Running cppcheck lint..."
1011
cppcheck \

compile-with-docker.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ IMAGE_TAG="uvk5-loaner"
77

88
mkdir -p "${OUT_DIR}"
99

10+
rm -f "${OUT_DIR}"/loaner-firmware*.bin
11+
1012
docker build -t "${IMAGE_TAG}" "${SCRIPT_DIR}"
1113

1214
docker run --rm \

docs/releases/LNR24A3.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
## Loaner Firmware Alpha 3 – LNR24A3
2+
3+
- Disable the physical Menu key so accidental presses no longer expose configuration menus.
4+
- Clean build scripts to drop stale `loaner-firmware*.bin` artifacts before each Docker build, ensuring releases only contain fresh images.
5+
6+
Tag this build as `v24.10-alpha3` and publish the two artifacts below.
7+
8+
Artifacts generated via `./compile-with-docker.sh`:
9+
10+
- `compiled-firmware/loaner-firmware-LNR24A3.bin`
11+
- `compiled-firmware/loaner-firmware-LNR24A3.packed.bin`

0 commit comments

Comments
 (0)