now also on a pager

This commit is contained in:
2026-11-15 00:29:01 +01:00
parent ccf49de07b
commit e7ae3d3ee8
6 changed files with 122 additions and 10 deletions

No files matched your search

+7
View File
@@ -95,6 +95,13 @@ void MESSAGES_ProcessKeys(KEY_Code_t Key, bool bKeyPressed, bool bKeyHeld) {
return;
}
gKeyTimeout = 1;
// POCSAG deviation tuning: 2 = more, 8 = less (send a page and check it on an SDR)
if (gEeprom.FSKMode == MOD_POCSAG_1200 && gEnteringSMS == SMS_NOT_ENTERING &&
(Key == KEY_2 || Key == KEY_8)) {
if (bKeyPressed && !bKeyHeld)
POCSAG_AdjustDeviation(Key == KEY_2 ? 0x40 : -0x40);
return;
}
if (gEnteringSMS != SMS_NOT_ENTERING && Key <= KEY_9) {
if (!bKeyHeld) {
if (!dataPTR || dataPTR < dataPacket.data) {