Commit Graph

593 Commits

Author SHA1 Message Date
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
Krzysiek Egzmont
e22cc4ccd0 Code comments 2023-12-09 15:51:40 +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
1203fdf0ca Use stepping instead of branching using modulus
Modulus operations are very costly and generally should be avoided.
They also take a few bytes.

This version is actually a quite faster.
2023-12-09 15:50:59 +01:00
Juan Antonio
cfc4763dd1 Scrape together a few bytes 2023-12-09 15:50:59 +01:00
Juan Antonio
b6a49db31d FM Radio: Simplify logic 2023-12-08 23:18:19 +01:00
Juan Antonio
82ddbcd375 Refactor stepFruencyTable & drop ARRAY_SIZE for frequencyBandTable 2023-12-08 23:17:33 +01:00
Juan Antonio
335c2ec9cd ACTION_Handle: Drop switch in favour of a function array 2023-12-08 01:43:12 +01:00
Juan Antonio
4249d917f8 Refactor of app/action.c
* Extracted funcionts
* Simplified logic of some functions
* Moved things arround a bit. Conditional code moved to the end
2023-12-08 01:43:12 +01:00
Juan Antonio
2164461449 Use function to check if in RX mode 2023-12-08 01:43:12 +01:00
Juan Antonio
c3906f42f8 Update .gitignore 2023-12-08 01:43:12 +01:00