Commit Graph

36 Commits

Author SHA1 Message Date
Reed Nightingale
c38460576b A number of explicit casts, initializations, and type adjustments to avoid warnings 2020-01-26 10:40:59 -08:00
Reed Nightingale
bbdd6840c9 Reduce setting step size, since momentum can get places faster 2020-01-21 01:37:09 -08:00
Reed Nightingale
1f033b6af4 Save 102 progmem bytes by de-duping strings 2020-01-19 20:51:19 -08:00
Reed Nightingale
dd3a6162af Set global setting so that setFrequency will work correctly 2020-01-19 20:42:44 -08:00
Reed Nightingale
6d5fb97c62 Refactor reset-all setting 2020-01-19 20:35:43 -08:00
Reed Nightingale
d032664620 Re-order cw settings to match the menu 2020-01-19 20:21:51 -08:00
Reed Nightingale
850cda59e4 Refactor cw play speed setting 2020-01-19 20:20:03 -08:00
Reed Nightingale
4265d56d32 Remove unused setupCwTone 2020-01-19 19:50:54 -08:00
Reed Nightingale
9af0c1c965 Refactor keyer setting into new menu style 2020-01-19 19:50:11 -08:00
Reed Nightingale
dc1da20b13 Refactor cw switch delay 2020-01-19 19:40:03 -08:00
Reed Nightingale
58bfe55620 Move tone down to keep the menus in a somewhat orderly fashion 2020-01-19 19:26:31 -08:00
Reed Nightingale
b99e13eff4 Refactor BFO settings menu 2020-01-19 19:24:26 -08:00
Reed Nightingale
315d9348f0 Swap most string operations to bounded versions 2020-01-19 19:00:45 -08:00
Reed Nightingale
d0900aa392 Refactor local oscillator cal 2020-01-19 18:40:11 -08:00
Reed Nightingale
e65f4d57a4 Implement the instructions text 2020-01-19 12:56:14 -08:00
Reed Nightingale
03fd8463eb Switch to named functions instead of lambdas, because apparently PROGMEM doesn't like lambdas 2020-01-19 10:48:07 -08:00
Reed Nightingale
8212ecf1e9 Proof of concept generic setting menu for cw tone 2020-01-18 23:34:41 -08:00
Reed Nightingale
f79ca7c693 Give a reset dialog so it can't be a single mistake to reset 2020-01-17 23:23:56 -08:00
Reed Nightingale
897b5c5de5 Add reset option 2020-01-17 23:10:53 -08:00
Reed Nightingale
bc83bcd5d1 Move CW WPM and Hz to setup menu 2020-01-17 22:57:41 -08:00
Reed Nightingale
b100da145e Rename some of the menu items 2020-01-17 22:27:12 -08:00
Reed Nightingale
e0bc5999c8 De-duplicate keyer strings 2020-01-17 22:22:06 -08:00
Reed Nightingale
ebaf7c44de Do most of the refactoring required to make menus easy to expand 2020-01-17 21:41:52 -08:00
Reed Nightingale
6fe6185b19 Remove unused extern 2020-01-17 18:53:18 -08:00
Reed Nightingale
afeb056667 Move formatFreq to nano_gui so that both ubitx_ui and setup can use the single function 2020-01-14 23:33:11 -08:00
Reed Nightingale
9a2a25abe9 Fix rendering of BFO 2020-01-14 22:47:53 -08:00
Reed Nightingale
9a205522d9 Don't reset cals to fixed values when starting cal routine 2020-01-14 22:22:26 -08:00
Reed Nightingale
9a68846b58 Use correct version of strcat for flash strings 2020-01-04 22:51:29 -08:00
Reed Nightingale
fbfb7c89d6 Fix merge issue 2020-01-04 01:50:17 -08:00
Reed Nightingale
4d7739d6dd Merge updated pdq_gfx_update branch into one_stop_settings 2020-01-04 01:45:35 -08:00
Reed Nightingale
29aa76edf5 Make strings progmem, saving ~200 bytes of RAM 2020-01-04 01:10:10 -08:00
Reed Nightingale
9ebdf8b213 Render setup menus better 2020-01-04 00:53:00 -08:00
Reed Nightingale
39168d663e Use settings in all files. Compiles, but untested 2020-01-03 23:11:55 -08:00
Reed Nightingale
5d7c66dc0c Remove debugging print 2020-01-01 20:25:42 -08:00
Reed Nightingale
aa80dae425 Overhaul setup page with layout variables 2020-01-01 18:42:34 -08:00
Ashhar Farhan
cda86a1b12
Refactored code
The files are not split into .cpp and .h files. The main file ubitxxxx.cpp will have the main routines to control the radio, initialization and main loop. The user interface is implemented in ubitx_ui.cpp, the code for setup/calibration routines is in setup.cpp. Nano gui, keyer, morse.cpp (morse reader) are all libaries that have minimum dependencies on each other.
2019-12-18 12:02:44 +05:30