Juan Antonio
e929a79765
Move variable declaration outside of guarded region
...
Fixes #328
2023-12-24 20:55:29 +01:00
Juan Antonio
d75209bad0
Rename str_ptr to adhere to the current style
2023-12-24 13:34:05 +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
a715389a8b
Add Doxygen configuration file and makefile target
...
It can be used to generate sometimes useful call-graphs.
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
a08420a0b7
Simply some logic. Unify some #ifdef regions
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
Juan Antonio
7d982f1f8d
Correct include guard #endif placement
2023-12-22 20:26:07 +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
egzumer
0d66eb8577
Update README.md
2023-12-19 17:37:24 +01:00
Krzysiek Egzmont
13b6bb06b2
Spectrum analyzer, more frequency steps
2023-12-19 03:08:18 +01:00
Krzysiek Egzmont
88f3537af0
9kHz, 20kHz, 200kHz frequency steps added #295
2023-12-18 17:12:33 +01:00
Krzysiek Egzmont
de8c501d65
S0, S9 settings even more constrained
2023-12-18 15:27:31 +01:00
egzumer
76bbaf9442
Update README.md
2023-12-18 15:23:02 +01:00
Krzysiek Egzmont
c4d9cfc895
Add AM-fix build option to EEPROM
2023-12-17 03:47:17 +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
e7a21c470f
Makefile Mac build fix #284
2023-12-15 21:08:50 +01:00
Krzysiek Egzmont
fc679c77a4
Fix other backlight menu issues #275
2023-12-15 18:08:40 +01:00
Krzysiek Egzmont
1151cf8667
Backlight brightness tuned down for backlight menu entries #275
2023-12-15 16:54:18 +01:00
Krzysiek Egzmont
af6b542da1
Cleanup
2023-12-15 13:47:07 +01:00
Juan Antonio
cc49a5007c
Fix #275 Backlight does not get back to MAX brightness after exiting backlight menu entries
...
Backlight is set to FULL when interacting with backlight menu entries,
but it is not set back to MAX when exiting from those entries. This
commit corrects that behaviour.
2023-12-15 13:00:08 +01:00
Juan Antonio
a99d2dd1b1
Fix #272 : Backlight time doubled
2023-12-15 02:56:25 +01:00
Juan Antonio
9dc79ce868
Fix compilation errors when UART is disabled
2023-12-14 22:03:44 +01:00
Juan Antonio
80fa310646
Fix use of wrong ENABLE guard
2023-12-14 22:03:44 +01:00
Juan Antonio
7f5236c44e
Fix compilation errors when FM radio is disabled
2023-12-14 22:03:44 +01:00
Juan Antonio
4b583bf2bd
Assign NOP function when the flashlight is disabled
2023-12-14 22:03:44 +01:00
Krzysiek Egzmont
fa5d3c1594
FIX #269 : battery indicator always at 4 bars
2023-12-14 15:07:33 +01:00
Juan Antonio
1a53586922
Simplify logic in radio.c
2023-12-14 11:11:06 +01:00
Juan Antonio
687b63abb6
Fix signature
2023-12-14 11:11:06 +01:00
Juan Antonio
06f1c651bc
Make LogUart receive a const char* const
2023-12-14 11:11:06 +01:00
Juan Antonio
33e4e3c4e0
Make AUDIO_PlayVoice static as it is only used inside of its module
2023-12-14 11:11:06 +01:00
Krzysiek Egzmont
93b97eff0a
FIX #264 : compilation error
2023-12-14 11:05:46 +01:00
egzumer
8638d37431
Update README.md
2023-12-13 19:19:29 +01:00
Krzysiek Egzmont
716e9e23b8
README.md - add Github Codespace building manual
2023-12-13 19:04:29 +01:00
Juan Antonio
d0ae34f9b4
Replace memmove by memcpy
2023-12-13 16:07:07 +01:00
Juan Antonio
bd17aea72b
Make SETTINGS_InitEEPROM zero struct gEeprom
2023-12-13 16:07:07 +01:00
Juan Antonio
34d688b101
Logic simplification. Replace memmove by memcpy
2023-12-13 16:07:07 +01:00
Juan Antonio
8c7f736797
Simplify come battery logic
2023-12-13 16:07:07 +01:00
Juan Antonio
a19579a888
Make makefile options settable from envars
2023-12-13 16:07:07 +01:00
Krzysiek Egzmont
00a2bc75b8
Tighter constraints for S0, S9 s-meter EEPROM settings #252
2023-12-13 13:48:18 +01:00
Krzysiek Egzmont
268c4dece3
S0 and S9 value settings #174
2023-12-12 18:51:38 +01:00
Krzysiek Egzmont
0c2fc6184c
Fix #234 : Bring back FM radio status indicator, show dual watch inactive while in FM radio
2023-12-12 00:52:26 +01:00
Krzysiek Egzmont
6bdce2d0e2
Refactor
2023-12-12 00:45:09 +01:00
g4eml
42a2e16e0e
Update am_fix.c
2023-12-10 22:15:53 +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
Krzysiek Egzmont
eb6a3d0867
Fix compile error
2023-12-09 16:21:11 +01:00