Federico Amedeo Izzo
8ded5fc9b6
Graphics: Fix print with TEXT_ALIGN_RIGHT not working
2021-01-29 22:03:13 +01:00
Federico Amedeo Izzo
fcf8dc2bcb
UI: Add function to draw menu list with values
2021-01-29 21:31:28 +01:00
Federico Amedeo Izzo
171d6f76a9
Fix rebase issues
2021-01-29 19:34:44 +01:00
Federico Amedeo Izzo
289f45f4b9
UI: Add Display settings menu scrolling
2021-01-29 19:31:20 +01:00
Federico Amedeo Izzo
0c11198e8a
UI: Use one function to draw all menus
2021-01-29 19:31:17 +01:00
Federico Amedeo Izzo
2533f35309
UI: Add display settings
2021-01-29 19:30:22 +01:00
Niccolò Izzo
c9caff3b8d
Remove OPNRTX from background
2021-01-29 18:15:33 +01:00
Niccolò Izzo
421ff0e448
Add RSSI and squelch graphic representation
...
Replaced bottom bar with graphic squelch and rssi representation.
2021-01-29 11:20:35 +01:00
Niccolò Izzo
2fa5b7a6e6
Fix squelch setting on linux
2021-01-28 16:46:09 +01:00
Niccolò Izzo
226d2ccaf7
Implement RSSI based squelch control
2021-01-28 15:13:06 +01:00
Niccolò Izzo
0b98f50a12
Add absolute knob positioning and horizontal keys emulation
2021-01-28 14:14:25 +01:00
Niccolò Izzo
364f8d4e46
Add squelch visualization and control from macro menu
2021-01-28 12:51:22 +01:00
Niccolò Izzo
5156783495
Rename MenuMacro in MacroMenu
2021-01-28 12:50:13 +01:00
Niccolò Izzo
90445e29a7
Implement voltage to dBm conversion in MDx
...
MDx radios get an RSSI voltage in mV, to be converted into dBm, we used
and empirically derived linear relation to compute the dBm value.
2021-01-28 10:31:37 +01:00
Federico Amedeo Izzo
f61c269270
UI: Replace GPS with MODE selection on macro menu
2021-01-26 21:19:11 +01:00
Federico Amedeo Izzo
5311183c8a
UI: Selecting a Channel in the Channel menu switches to MEM mode with that channel
2021-01-26 20:57:39 +01:00
Federico Amedeo Izzo
c4e7e2962c
UI: Fix bug causing frequency not being saved when switching from VFO to MEM
2021-01-26 20:42:59 +01:00
Federico Amedeo Izzo
4d35ddfa3d
UI: Improve previous commit
2021-01-26 20:18:55 +01:00
Federico Amedeo Izzo
c498b3d337
UI: Unified FSM code of Zone, Channel and Contacts menu
2021-01-26 20:10:31 +01:00
Federico Amedeo Izzo
2057374fac
UI: Merge Zone, Channel and Contacts menu in a single function
2021-01-24 19:36:21 +01:00
Federico Amedeo Izzo
1a1e39fcc0
UI: Add Zone and Contacts menu
2021-01-24 18:53:43 +01:00
Federico Amedeo Izzo
bc88247809
UI: Fix compiler warning
...
uint32_t is unsigned long on 32-bit ARM and unsigned on 64-bit x64.
Add type specifier to avoid having warnings when compiling on Linux
2021-01-24 16:27:50 +01:00
Federico Amedeo Izzo
c9c1e2312f
UI: Fix compiler warnings
2021-01-24 15:51:11 +01:00
Federico Amedeo Izzo
463e5bf6fb
Graphics: Add error box printing
2021-01-21 22:01:25 +01:00
Niccolò Izzo
827bc45794
Fix deadlock issue on linux target
...
The keyboard thread was causing a deadlock with the ui thread,
now the keyboard thread is non-blocking.
2021-01-15 22:09:11 +01:00
Federico Amedeo Izzo
0e1e9469ea
UI: Fixed bug in channel menu resulting in a pinned first channel
2021-01-13 21:10:31 +01:00
Federico Amedeo Izzo
ad78fe41e8
UI: Add channel menu lower bound
2021-01-13 21:03:51 +01:00
Federico Amedeo Izzo
3b0c9ecb49
UI refactoring: Move macro menu logic to a separate function
2021-01-13 20:50:35 +01:00
Federico Amedeo Izzo
ab44bb90e7
UI refactoring: Move VFO input logic to separate functions
2021-01-13 20:43:39 +01:00
Federico Amedeo Izzo
b60100a1f9
UI: Move load channel from CPS to separate function
2021-01-13 20:27:39 +01:00
Federico Amedeo Izzo
6039bbb42e
UI: Pass curtime_t per pointer, not per copy
2021-01-13 20:04:12 +01:00
Federico Amedeo Izzo
5a0a4886ee
UI: Add macro menu to MEM mode. Fix main_state save and restore
2021-01-12 20:03:45 +01:00
Federico Amedeo Izzo
1a894c67df
UI: Save and restore VFO channel when switching to MEM mode
2021-01-12 19:25:47 +01:00
Niccolò Izzo
daeeee64dd
Fix battery glitch
...
Battery charge was mistakenly being computed because values used in
computation were defined in a function which was not included as a
header file.
2021-01-12 08:01:34 +01:00
Federico Amedeo Izzo
e690009171
UI: Reduce channel name font size
2021-01-10 11:25:05 +01:00
Federico Amedeo Izzo
b7088686f5
UI: Channel: Implemented channel switching
2021-01-10 10:23:56 +01:00
Federico Amedeo Izzo
73c9ab56a6
UI: Channel mode: load channel from cps and do basic validation
2021-01-10 10:18:29 +01:00
Federico Amedeo Izzo
3365fe4d2f
UI: Move VFO/MEM indicator to the left of the bottom bar
2021-01-10 09:27:55 +01:00
Federico Amedeo Izzo
571adfaabf
UI: Move ui_*.c files to ui subfolder
2021-01-10 09:04:53 +01:00
Federico Amedeo Izzo
e23b9bcea6
UI: Move main screen functions to ui_main.c
2021-01-10 09:03:07 +01:00
Federico Amedeo Izzo
feb7e7ef7e
UI: Initial MEM implementation
2021-01-09 19:37:51 +01:00
Federico Amedeo Izzo
aef0eb30b1
UI: Move ui_menu.c function prototypes from ui_menu.h to ui.c as extern
2021-01-09 18:33:40 +01:00
Federico Amedeo Izzo
e34674151b
UI: Move menu related functions to ui_menu.c
2021-01-09 10:47:18 +01:00
Federico Amedeo Izzo
6c9d1834ad
ui.c: Fixed format string warnings
2021-01-09 09:36:17 +01:00
Federico Amedeo Izzo
4101597ae5
ui.c: Move ui state global variables to struct ui_state_t
2021-01-09 09:25:24 +01:00
Niccolò Izzo
adc48efb19
Implement CTCSS available tones array
...
Now the CTCSS tones are taken from an array and indexed from that array.
A macro that sets the tone has been implemented.
2021-01-05 11:26:22 +01:00
Niccolò Izzo
29e4e35199
Fix layout, implement tone enable disable macro
2021-01-05 10:08:18 +01:00
Niccolò Izzo
bbcd6483a2
Add tone enable flags into channel data structure
2021-01-05 10:08:18 +01:00
Federico Amedeo Izzo
04a8e2025e
Keyboard: Do not send event bursts after long press
2021-01-05 10:08:18 +01:00
Niccolò Izzo
2dcefb7c0e
Add backlight into state, macro functionality
...
Now the current backlight level is part of the radio state, and the
first few macros have been implemented although the rate limiting of
presses has still to be fixed.
2021-01-05 10:08:18 +01:00