588 Commits

Author SHA1 Message Date
Armel FAUVEAU
5fadf4c6f3 Clean SCRAMBLER again...and save 200 octets 2024-02-10 00:52:39 +01:00
Armel FAUVEAU
2f813914dd Fix bug on max contrast saving 2024-02-09 03:18:01 +01:00
Armel FAUVEAU
5f7da35e06 Disable PTT if KEY_LOCK 2024-02-09 02:07:08 +01:00
Armel FAUVEAU
dfe301b2dd Add F + UP / DOWN to change Squelch 2024-02-09 01:36:44 +01:00
Armel FAUVEAU
170fcbfb6e Change SWITCH MAIN ONLY to RX MODE 2024-02-08 02:17:04 +01:00
Armel FAUVEAU
186ea416bf Revert fix bug on SWITCH MAIN ONLY 2024-02-08 01:48:18 +01:00
Armel FAUVEAU
677f66e489 Calibrate brightness 2024-02-07 04:16:03 +01:00
Armel FAUVEAU
919bd2ed15 Fix bug on screen settings 2024-02-07 03:17:39 +01:00
Armel FAUVEAU
89d308293f Add SetInv menu 2024-02-06 05:00:55 +01:00
Armel FAUVEAU
9e462f777a Just 3 times to Unlock All 2024-02-05 23:50:48 +01:00
Armel FAUVEAU
e45c2f5904 Fix F4IRT shortcut bug 2024-02-05 23:49:56 +01:00
Armel FAUVEAU
ec87fff311 Remove useless line 2024-02-05 05:31:05 +01:00
Armel FAUVEAU
5acc7de23f Fix bug on N/W action 2024-02-04 20:42:47 +01:00
Armel FAUVEAU
9816c1b7be Add W/N action 2024-02-03 16:15:35 +01:00
Armel FAUVEAU
e8760bda5f Add Contrast feature 2024-02-03 05:50:00 +01:00
Armel FAUVEAU
4b7dd4bdde Remove Scrambler 2024-02-02 03:15:47 +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
dc1808b1fe FIX #444: build error when ENABLE_DTMF_CALLING disabled 2024-01-29 16:50:58 +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
adbc466c49 Refactor 2024-01-15 17:01:42 +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
wu58430
4efabfc2b6 Prohibit entering submenus when displaying DTMF information 2024-01-12 17:51:36 +01:00
Krzysiek Egzmont
685ecb062b Refactor 2024-01-12 15:54:35 +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
Krzysiek Egzmont
3f012b3afe Fix uart BK regs reading/writing 2023-12-30 15:32:11 +01:00
Juan Antonio
289418f1c7 Reduce nesting 2023-12-28 22:08:57 +01:00
Juan Antonio
e5cff16d98 Merge guarded code. Simplify DTMF_CheckGroupCall 2023-12-28 22:08:56 +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
Krzysiek Egzmont
995045006f Read/write BK4819 regs through UART 2023-12-25 23:52:15 +01:00
Juan Antonio
cbf4a7c140 Use function table. Simplify logic
Size: 60364 -> 60220
2023-12-25 22:49:06 +01:00
Juan Antonio
7a7010da55 Unify PrintSmall functions
Size: 60420 -> 60364
2023-12-25 22:49:06 +01:00
Juan Antonio
78a45d9bbd Create function to zero gFrameBuffer
Size: 60464 -> 60420
2023-12-25 22:49:06 +01:00
Juan Antonio
f8ef687026 Use pointers to avoid some string copying
Size: 60664 -> 60464
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
ee0ba9886d Simplify DTMF_FindContact 2023-12-24 13:34:05 +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
34f2168856 Spectrum warp-around when switching steps 2023-12-24 13:34:05 +01:00
Juan Antonio
bc9bb489e6 Un-unroll some loops and save a few bytes 2023-12-24 13:34:05 +01:00
Krzysiek Egzmont
2cc60da9ab Fix #314:Reset current bar when blacklisting in scan range 2023-12-22 20:22:39 +01:00
Krzysiek Egzmont
39eb3e835e Scan range in spectrum 2023-12-19 18:25:45 +01:00