Armel FAUVEAU
4cd00a0a97
Improve BackLt (35/63)
2024-04-05 06:28:51 +02:00
Armel FAUVEAU
d489dedf51
Improve BackLt (35/63)
2024-04-05 05:03:40 +02:00
Armel FAUVEAU
4276211ed9
Refactoring
2024-04-01 07:17:25 +02:00
Armel FAUVEAU
cf9594a99f
Save 116 bytes
2024-04-01 06:53:30 +02:00
Armel FAUVEAU
e9c2a2ed2a
Remove fucking ENABLE_CTCSS_TAIL_PHASE_SHIFT
2024-03-23 02:16:40 +01:00
Armel FAUVEAU
7ed9889ef4
Remove blink and SOS
2024-03-21 03:16:34 +01:00
Armel FAUVEAU
8e6369a3ac
Improve OnePush if TOT
2024-03-03 04:13:26 +01:00
Armel FAUVEAU
14378eaa7a
Add F + SIDE1 and F + SIDE2 for Step
2024-03-02 21:01:52 +01:00
Armel FAUVEAU
2defc1289d
Fix ScranRange limit
2024-02-22 20:22:34 +01:00
Armel FAUVEAU
c681e1fbce
Save 8 bytes
2024-02-13 01:36:10 +01:00
Armel FAUVEAU
d6a57be4c4
Add SetLck
2024-02-11 03:47:31 +01:00
Armel FAUVEAU
5fadf4c6f3
Clean SCRAMBLER again...and save 200 octets
2024-02-10 00:52:39 +01:00
Armel FAUVEAU
5f7da35e06
Disable PTT if KEY_LOCK
2024-02-09 02:07:08 +01:00
Armel FAUVEAU
919bd2ed15
Fix bug on screen settings
2024-02-07 03:17:39 +01:00
Armel FAUVEAU
e45c2f5904
Fix F4IRT shortcut bug
2024-02-05 23:49:56 +01:00
Armel FAUVEAU
0d9320b9d6
Add SetTot menu
2024-02-01 19:39:19 +01:00
Armel FAUVEAU
103a23926d
Add SetTot menu
2024-02-01 06:16:02 +01:00
Armel FAUVEAU
c9b8476733
Don't send tail tone when STE is off
2024-01-30 22:23:02 +01:00
Armel FAUVEAU
74421ed6d7
Apply changes to v0.22
2024-01-29 22:43:47 +01:00
Krzysiek Egzmont
f85ed9440d
Refactor
2024-01-28 23:57:15 +01:00
Krzysiek Egzmont
ed5ebc4854
FIX #441 : Setting ENABLE_NO_CODE_SCAN_TIMEOUT at 1 or 0 has no effect
2024-01-28 21:59:20 +01:00
Krzysiek Egzmont
46e2d1a0fd
FM radio band selection #230
2024-01-15 22:30:12 +01:00
Krzysiek Egzmont
ea3b5b23a9
Refactor
2024-01-14 00:25:02 +01:00
Krzysiek Egzmont
8941576887
Fix #286 : Lack of continuous tuning and monitor lockout while holding up/down button in monitor mode.
2024-01-13 23:35:33 +01:00
Krzysiek Egzmont
04b0bd8c93
Refactor
2024-01-13 23:30:44 +01:00
Yuri_su
01ccaaf212
Update app.c fix DTMF not reply
...
If set DTMF reply only, sometimes the DTMF call will not reply.
2024-01-08 23:40:01 +01:00
Juan Antonio
36ecde86e9
Reduce nesting
2023-12-28 22:08:56 +01:00
Krzysiek Egzmont
1882ab0cc1
Refactor
2023-12-26 01:40:04 +01:00
Juan Antonio
cbf4a7c140
Use function table. Simplify logic
...
Size: 60364 -> 60220
2023-12-25 22:49:06 +01:00
Juan Antonio
986c0ce368
Fix RX not honoring Backlight on TX/RX settings properly
...
Fixes #317
2023-12-24 22:56:35 +01:00
Juan Antonio
084fe4dd26
Fix 1750Hz so that it can perform STE
...
1750Hz and CTCSS tones can be send together.
2023-12-24 13:34:05 +01:00
Juan Antonio
6f1cabc807
Simplify gSchedulePowerSave logic
...
There was quite convoluted logic there, and what I believe, was a bug.
Rationale:
Both,
- gBatterySaveCountdown_10ms = battery_save_count_10ms;, and
- gSchedulePowerSave = false
are always executed inside FUNCTION_Select().
So the code is equivalent to:
if (any of those OR'd) {
gBatterySaveCountdown_10ms = battery_save_count_10ms;
gSchedulePowerSave = false; (but only if we have NOAA disabled)
} else {
[other stuff from FUNCTION_Select()]
gBatterySaveCountdown_10ms = battery_save_count_10ms;
gSchedulePowerSave = false; (regarless of having NOAA or not)
}
So:
- OR is true, have NOAA-> don't clear gSchedulePowerSave
-> implies we will enter here, again, until the OR is false, but only if we have NOAA.
- OR is False -> clear gSchedulePowerSave.
Moreover, checking with DualTachyon code at
6f8afac886/app/app.c (L747)
gSchedulePowerSave is always set to false if it was true.
2023-12-24 13:34:05 +01:00
Juan Antonio
1f4f026162
Simplify APP_EndTransmission
...
* Unify Roger-Beep selection
* Extract function for DTMF EoT
2023-12-24 13:34:05 +01:00
Juan Antonio
2a75f8a9be
Refactoring #285
...
Signed-off-by: Krzysiek Egzmont <egzumer@gmail.com >
2023-12-16 18:34:54 +01:00
Krzysiek Egzmont
af6b542da1
Cleanup
2023-12-15 13:47:07 +01:00
Juan Antonio
9dc79ce868
Fix compilation errors when UART is disabled
2023-12-14 22:03:44 +01:00
Juan Antonio
2e69acbdc4
Fix aircopy bypassing TX restrictions & refactor
...
And scrapes together a few more bytes.
2023-12-09 19:07:20 +01:00
Juan Antonio
a153e63be1
Add function to test if serial configuration is in progress
...
This was formely tested all over using testing for the state of
gSerialConfigCountDown_500ms in a couple of ways. This logic have been
extracted into a function to make the code more readable.
Also testing it with > 0 was a bit misleading as the variable is
unsigned so tesing with == and != is enough.
2023-12-09 15:50:59 +01:00
Juan Antonio
4322a7d8a9
Drop gScreenToDisplay switch and use function table
...
Saves some bytes
2023-12-09 15:50:59 +01:00
Juan Antonio
2164461449
Use function to check if in RX mode
2023-12-08 01:43:12 +01:00
Krzysiek Egzmont
5e78916dd3
AM-fix cleanup
2023-12-07 21:08:12 +01:00
Juan Antonio
754d2ce5fb
Make Flashlight optional
2023-12-07 00:46:59 +01:00
Juan Antonio
cd032c39d2
Refactor alarm code
...
- Fixes Alarms bypassing TX restrictions
- Adds enumerations
- Makes use of mode ALARM_STATE_SITE_ALARM (formely ALARM_STATE_ALARM) instead
checking against ALARM_STATE_TXALARM && ALARM_MODE == ALARM_MODE_TONE
all over the place
2023-12-07 00:46:59 +01:00
Juan Antonio
103bdf212f
Use enum for Flaslight & return early
2023-12-07 00:44:51 +01:00
Juan Antonio
bafe372cbc
Simplify backlight logic
2023-12-07 00:44:51 +01:00
Krzysiek Egzmont
e5659ad6ab
Fix battery save broken in last commits
2023-12-06 20:36:15 +01:00
Krzysiek Egzmont
c1a009cc2f
AM fix modification
2023-12-06 17:54:32 +01:00
Krzysiek Egzmont
e95f577074
Real AM fix attempt, messy
2023-12-05 23:14:43 +01:00
Krzysiek Egzmont
86438ef3ce
Improve AM-fix
2023-12-05 00:22:30 +01:00
Krzysiek Egzmont
f3297c29cb
AGC debugging option
2023-12-04 22:58:27 +01:00