Commit Graph

321 Commits

Author SHA1 Message Date
Reed Nightingale
f5f914a2a9 Update includes 2020-04-21 21:12:02 -07:00
Reed Nightingale
ff4cc62e70 Update includes and pin names 2020-04-21 21:10:48 -07:00
Reed Nightingale
0091a1e17a Update includes, and make VFO switch explicit 2020-04-21 21:10:24 -07:00
Reed Nightingale
7d84ab744b Remove include 2020-04-21 21:09:55 -07:00
Reed Nightingale
b87ef7575a Move tuning functions to a single file 2020-04-21 21:09:21 -07:00
Reed Nightingale
f090a75221 Add dedicated scratch-space header so that we can track where these are still used 2020-04-21 21:08:51 -07:00
Reed Nightingale
f113551aa6 Use beginTransaction for spi, since it's surprisingly less additional memory than the setClockDivider call. Also, add SPI cleanup to early return case 2020-04-21 21:06:19 -07:00
Reed Nightingale
1e66731649 Remove unnecessary file 2020-04-12 17:45:06 -07:00
Reed Nightingale
b2e17548c2 Remove more redundant checks 2020-02-15 18:44:29 -08:00
Reed Nightingale
b116be8644 Remove redundant check 2020-02-15 18:43:10 -08:00
Reed Nightingale
3438bef4fb Clean up types a bit 2020-02-15 18:42:06 -08:00
Reed Nightingale
b909f4d652 Remove active delay 2020-02-15 17:10:27 -08:00
Reed Nightingale
f7229ebaf2 Save 406 bytes by refactoring the touch calibration routine 2020-02-15 17:07:18 -08:00
Reed Nightingale
6481812b4f Link in the setup menu. Exceeds available space :( 2020-02-15 15:31:14 -08:00
Reed Nightingale
cad3c3c57e Add an enterSubmenu routine to centralize that behavior 2020-02-15 15:27:48 -08:00
Reed Nightingale
98adba28ba Have a high level function in charge of finding the active submenu 2020-02-15 14:43:05 -08:00
Reed Nightingale
2bfa97687d Fix compiler errors 2020-02-15 14:29:23 -08:00
Reed Nightingale
0b96cfb1f7 Simplification of setting extraction, and setting menu running 2020-02-15 14:17:55 -08:00
Reed Nightingale
3dcbb8a0fe Small whitespace change 2020-02-15 14:14:44 -08:00
Reed Nightingale
e9e134079a Create a root menu for setup 2020-02-15 13:49:30 -08:00
Reed Nightingale
c8a90efee8 First pass at making menu selector run like a Menu_t 2020-02-15 13:49:09 -08:00
Reed Nightingale
72e4a71a4d First pass at splitting runSetting into Menu_t-compatible functions 2020-02-15 12:36:01 -08:00
Reed Nightingale
4582521f1b Play current frequency on entering 2020-02-14 19:28:58 -08:00
Reed Nightingale
bba125590b Change rendering of the input frequency 2020-02-14 19:16:11 -08:00
Reed Nightingale
f47c45194e Add actual menu running functions 2020-02-14 19:05:12 -08:00
Reed Nightingale
2f964b3ffb Remove unused function 2020-02-14 18:53:04 -08:00
Reed Nightingale
04560ef8b6 Add numpad functionality to main menu 2020-02-14 18:51:28 -08:00
Reed Nightingale
d42571f7a5 Start building out numpad menu 2020-02-14 18:50:57 -08:00
Reed Nightingale
4a0b0ec653 First pass at making numpad buttons 2020-02-14 18:50:26 -08:00
Reed Nightingale
2d3cc48b19 Play current frequency when VFO is selected 2020-02-12 22:18:02 -08:00
Reed Nightingale
423246f2b8 Add audio feedback for when entering/exiting bands 2020-02-11 23:36:43 -08:00
Reed Nightingale
5721e06a51 Instantly update tuning when changing modes 2020-02-11 23:31:14 -08:00
Reed Nightingale
23ecb4e4b2 Upcast to uint64 to avoid overflow 2020-02-11 23:24:37 -08:00
Reed Nightingale
77fffccb46 update band buttons when tuning 2020-02-11 23:10:06 -08:00
Reed Nightingale
405df5a757 Add method to update band buttons 2020-02-11 23:09:18 -08:00
Reed Nightingale
70a1025603 Fix progmem extraction 2020-02-11 22:59:44 -08:00
Reed Nightingale
4a27962a5b Save settings on VFO change or sideband change 2020-02-11 22:18:52 -08:00
Reed Nightingale
3b932d54b4 Actually activate buttons! 2020-02-11 22:17:30 -08:00
Reed Nightingale
c176604320 Use pointer passed in for work space 2020-02-11 22:15:46 -08:00
Reed Nightingale
2c20483931 Fix extraction in menu_utils 2020-02-11 22:01:07 -08:00
Reed Nightingale
6686f199b0 Unpack progmem fully 2020-02-11 21:45:26 -08:00
Reed Nightingale
2ff1d0d7e8 Fix types and expose some buttons 2020-02-11 21:44:40 -08:00
Reed Nightingale
c727d876eb Fix button drawing routine 2020-02-11 21:42:50 -08:00
Reed Nightingale
efd3bfc5ad Add color distinction to button drawing 2020-02-10 01:34:02 -08:00
Reed Nightingale
2722b4367a Update include annotation 2020-02-10 01:30:21 -08:00
Reed Nightingale
2826dfde56 First pass at button drawing implementation 2020-02-10 01:30:01 -08:00
Reed Nightingale
8239761a26 Move button declarations together, declaring rather than defining required functions 2020-02-10 01:17:47 -08:00
Reed Nightingale
25d5f3aaa9 Move most of the button stuff to a separate file 2020-02-10 01:02:03 -08:00
Reed Nightingale
4583288bfa Update functions to use new button array 2020-02-10 00:53:53 -08:00
Reed Nightingale
55096c9284 Fix most compiler errors 2020-02-10 00:53:17 -08:00