projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altos/telemini-v3.0: Swap main and apogee sense pins.
[fw/altos]
/
src
/
telemini-v3.0
/
ao_pins.h
diff --git
a/src/telemini-v3.0/ao_pins.h
b/src/telemini-v3.0/ao_pins.h
index b4f2a6304d1574bba8b8919e9fe8a9f6b9bd6c4c..be7fd8d0e67d1010caaa668e28a651190db08f35 100644
(file)
--- a/
src/telemini-v3.0/ao_pins.h
+++ b/
src/telemini-v3.0/ao_pins.h
@@
-143,13
+143,13
@@
#define HAS_ADC 1
#define HAS_ADC 1
-#define AO_ADC_PIN0_PORT (&stm_gpioa)
+#define AO_ADC_PIN0_PORT (&stm_gpioa)
/* sense_m */
#define AO_ADC_PIN0_PIN 0
#define AO_ADC_PIN0_CH 0
#define AO_ADC_PIN0_PIN 0
#define AO_ADC_PIN0_CH 0
-#define AO_ADC_PIN1_PORT (&stm_gpioa)
+#define AO_ADC_PIN1_PORT (&stm_gpioa)
/* sense_a */
#define AO_ADC_PIN1_PIN 1
#define AO_ADC_PIN1_CH 1
#define AO_ADC_PIN1_PIN 1
#define AO_ADC_PIN1_CH 1
-#define AO_ADC_PIN2_PORT (&stm_gpioa)
+#define AO_ADC_PIN2_PORT (&stm_gpioa)
/* v_batt */
#define AO_ADC_PIN2_PIN 2
#define AO_ADC_PIN2_CH 2
#define AO_ADC_PIN2_PIN 2
#define AO_ADC_PIN2_CH 2
@@
-158,8
+158,8
@@
#define AO_NUM_ADC 3
struct ao_adc {
#define AO_NUM_ADC 3
struct ao_adc {
- int16_t sense_a;
int16_t sense_m;
int16_t sense_m;
+ int16_t sense_a;
int16_t v_batt;
};
int16_t v_batt;
};