mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-04 23:51:37 +08:00
nxphlite-v3: Upstream NuttX up_cxxinitialize moved
was:<nuttx/arch.h> is:platform/cxxinitialize.h Removed PX4 version:src/modules/systemlib/up_cxxinitialize.c in favor of nuttx platform/gnu/gnu_cxxinitialize.c
This commit is contained in:
committed by
Daniel Agar
parent
3e26c861a2
commit
8fa8835a6f
@@ -289,16 +289,20 @@ __BEGIN_DECLS
|
|||||||
#define ADC_CHANNELS 1 << 0 // TBD
|
#define ADC_CHANNELS 1 << 0 // TBD
|
||||||
|
|
||||||
/* ADC defines to be used in sensors.cpp to read from a particular channel
|
/* ADC defines to be used in sensors.cpp to read from a particular channel
|
||||||
|
*
|
||||||
* PTB4 85 ADC1_SE10 BAT_VSENS
|
* ADC0
|
||||||
* PTB5 86 ADC1_SE11 BAT_ISENS
|
* USB_VBUS_VALID 36 - ADC0_SE16 or ADC0_SE21
|
||||||
* PTB6 87 ADC1_SE12 5V_VSENS
|
*
|
||||||
* PTB7 88 ADC1_SE13 RSSI_IN
|
* ADC1
|
||||||
* 37 ADC1_SE18 AD2
|
* AD1 35 - ADC1_SE16
|
||||||
* 36 ADC0_SE21 USB_VBUS_VALID
|
* AD2 37 - ADC1_SE18
|
||||||
* 35 ADC0_SE22 AD1
|
* AD3 39 - ADC1_SE23
|
||||||
* 39 ADC1_SE23 AD3
|
* BAT_VSENS 85 PTB4 ADC1_SE10
|
||||||
*/
|
* BAT_ISENS 86 PTB5 ADC1_SE11
|
||||||
|
* 5V_VSENS 87 PTB6 ADC1_SE12
|
||||||
|
* RSSI_IN 88 PTB7 ADC1_SE13
|
||||||
|
*
|
||||||
|
*/
|
||||||
#define GPIO_BAT_VSENS PIN_ADC1_SE10
|
#define GPIO_BAT_VSENS PIN_ADC1_SE10
|
||||||
#define GPIO_BAT_ISENS PIN_ADC1_SE11
|
#define GPIO_BAT_ISENS PIN_ADC1_SE11
|
||||||
#define GPIO_5V_VSENS PIN_ADC1_SE12
|
#define GPIO_5V_VSENS PIN_ADC1_SE12
|
||||||
|
|||||||
Reference in New Issue
Block a user