Commit Graph

288 Commits

Author SHA1 Message Date
Bogdan-Ioan BRUDIU
eeee11cf1b spectrum analyzer assignable to Side button, close #478
Signed-off-by: Krzysiek Egzmont <egzumer@gmail.com>
2024-02-23 21:43:38 +01:00
Krzysiek Egzmont
46e2d1a0fd FM radio band selection #230 2024-01-15 22:30:12 +01:00
Krzysiek Egzmont
ac8c51d605 Fix s-meter and DTMF overlaying problem 2023-12-31 13:31:39 +01:00
Wouter van Gulik
429cffc0bc ui/menu.c: Simplify code; move name printing into main switch statement.
This saves a few bytes of flash.
2023-12-30 20:38:59 +01:00
Wouter van Gulik
fbdaf6631d menu: use const char* const 2023-12-30 20:35:11 +01:00
Krzysiek Egzmont
f35ce8d789 Menu style build option ENABLE_CUSTOM_MENU_LAYOUT 2023-12-28 22:08:56 +01:00
Krzysiek Egzmont
8f6e1be5e0 Refactor 2023-12-28 22:08:56 +01:00
Juan Antonio
cceba5a474 Add missing UI_DisplayClear() 2023-12-26 03:01:24 +01:00
Krzysiek Egzmont
38ec40b0db Faster AGC debugging print 2023-12-25 22:49:58 +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
b0d131d546 Fix include directives 2023-12-25 22:49:06 +01:00
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
a08420a0b7 Simply some logic. Unify some #ifdef regions 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
39eb3e835e Scan range in spectrum 2023-12-19 18:25:45 +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
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
Krzysiek Egzmont
fa5d3c1594 FIX #269: battery indicator always at 4 bars 2023-12-14 15:07:33 +01:00
Juan Antonio
d0ae34f9b4 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
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
Juan Antonio
4322a7d8a9 Drop gScreenToDisplay switch and use function table
Saves some bytes
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
2164461449 Use function to check if in RX mode 2023-12-08 01:43:12 +01:00
Juan Antonio
4fd1ab8899 Remove redudant symbol 2023-12-08 01:43:12 +01:00
Juan Antonio
754d2ce5fb Make Flashlight optional 2023-12-07 00:46:59 +01:00
Juan Antonio
c76a96c3ad Add enum for TR/TX mode 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
Krzysiek Egzmont
88f7b90237 FIX #197: DWCode,UPCode display error 2023-12-07 00:33:05 +01:00
Krzysiek Egzmont
66f1f545c3 Refactor 2023-12-06 23:08:57 +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
Juan Antonio
52bdd408c4 Refactor, merge #186 2023-12-05 02:01:43 +01:00
Krzysiek Egzmont
f3297c29cb AGC debugging option 2023-12-04 22:58:27 +01:00
Krzysiek Egzmont
e039e65ee4 Refactoring 2023-12-04 22:53:59 +01:00
g4eml
9ca3ccd744 AM-Fix for Spectrum 2023-12-02 23:16:14 +01:00
Krzysiek Egzmont
cfa745fda0 Refactor 2023-12-02 22:59:36 +01:00
Krzysiek Egzmont
c341570838 Refactor cleanup 2023-12-01 02:14:28 +01:00
Krzysiek Egzmont
fbb4d08b88 S-meter values readjusted according to measurements from #53 2023-11-29 01:23:20 +01:00
Krzysiek Egzmont
050e04bcfd Enable/disable DTMF calling compile option 2023-11-28 23:00:01 +01:00
Krzysiek Egzmont
7857e8ed7a Scan range function #132 2023-11-28 20:13:02 +01:00