aerofc-v1 Remove GPIO_RC_OUT and vetted RC_IN wiring

Removed the legacy FMUv4 define that was activating a nonexistent
   pull up and on some HW driving the PPM_IN aka RC_IN aka SPEKTRUM_RX
   to VDD.

   Also detailed the connections of this pins for the board.

   The simplest connection is RC_IN to a timer capture pin
   and a UART.
   In this case the UART_RX pin and just be left as is.
   While the pin can be configured as the PPM_IN (Timer capture)
   or as SPEKTRUM_RX_AS_GPIO_OUTPUT to use it as and GPIO to
   facilitate binding.

  Renamed the macros and defines to be more explicit as to what
  Is being done and the sense of the parameters
This commit is contained in:
David Sidrane
2017-03-10 15:29:44 -10:00
parent a8f76a3319
commit 9f0ea7ff4f
+1 -1
View File
@@ -124,7 +124,7 @@
/* RC Serial port
*/
#define RC_SERIAL_PORT "/dev/ttyS3"
#define INVERT_RC_INPUT(_s) while(0)
#define INVERT_RC_INPUT(_invert_true) while(0)
/* High-resolution timer
*/