Commit Graph
8 Commits
Author SHA1 Message Date
Bertrand Songis fa0e4b9964 Cosmetics 2015-06-11 23:18:37 +02:00
Michał Wróbel 485edb579d TELEMETRY_MOD=14051_SWAPPED
TELEMETRY_MOD=14051 (by gerardv @ forum.turnigy9xr.com) makes USART0 available
by reallocating AIL and THR onto pins 14 and 15 of the 14051 multiplexer.

TELEMETRY_MOD=14051_SWAPPED is based on TELEMETRY_MOD=14051, but uses USART1
instead of USART0, freeing USART0 for other purposes (debugging, interfacing
via AVRISP port). USART1 is freed up by reallocating LVert Trim Dn/Up onto
14051's 12 and 1 pins respectively.

Additionally, this commit cleans a few things up:
 * moves AVR ADC-related code to adc_driver.cpp,
 * provides #defines to have a convenient way to access either USART0 or USART1
   registers depending on static (build-time) configuration
 * moves code related to this telemetry mod to board_stock
 * replaces a few magic numbers with enums.

Thanks to Bernard Songis for review and suggestions!
2015-04-25 14:25:34 +02:00
bsongis 01cd86f6f6 [MEGA2560/GRUVIN9X] Overflow in Custom Functions switch (no ON and One) 2015-03-03 20:14:23 +01:00
Damjan Adamic 382e5a0eef Missing stuff 2014-11-30 19:56:33 +01:00
bsongis 2237de99ed Mega2560 target didn't compile 2014-09-12 08:32:57 +02:00
Bertrand Songis cae4d1ecf6 Issue #592 - All boards will have this feature available, it costs only
50bytes on stock board (I saved more in this same branch)
2014-02-06 14:43:43 +01:00
Bertrand Songis 4a20329b2b Issue #192 - Trims and Rotary encoders buttons added to the switches
list
2014-02-06 12:45:53 +01:00
Bertrand Songis 942e658c8e Directory transmitter renamed to radio 2013-12-02 07:13:57 +01:00