mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-28 18:07:25 +08:00
SHT I2c and thermocouple fixes
This commit is contained in:
committed by
Felix Ruess
parent
bf46afca9c
commit
6b669d111d
@@ -9,11 +9,11 @@
|
|||||||
<header>
|
<header>
|
||||||
<file name="humid_sht_i2c.h"/>
|
<file name="humid_sht_i2c.h"/>
|
||||||
</header>
|
</header>
|
||||||
<init fun="humid_sht_init()"/>
|
<init fun="humid_sht_init_i2c()"/>
|
||||||
<periodic fun="humid_sht_periodic()" freq="4" delay="0"/>
|
<periodic fun="humid_sht_periodic_i2c()" freq="4" delay="0"/>
|
||||||
<periodic fun="humid_sht_p_temp()" freq="4" delay="6"/>
|
<periodic fun="humid_sht_p_temp()" freq="4" delay="6"/>
|
||||||
<periodic fun="humid_sht_p_humid()" freq="4" delay="9"/>
|
<periodic fun="humid_sht_p_humid()" freq="4" delay="9"/>
|
||||||
<event fun="humid_sht_event()"/>
|
<event fun="humid_sht_event_i2c()"/>
|
||||||
<makefile target="ap">
|
<makefile target="ap">
|
||||||
<file name="humid_sht_i2c.c"/>
|
<file name="humid_sht_i2c.c"/>
|
||||||
</makefile>
|
</makefile>
|
||||||
|
|||||||
@@ -5,7 +5,6 @@
|
|||||||
|
|
||||||
#define TCOUPLE_NB 4
|
#define TCOUPLE_NB 4
|
||||||
|
|
||||||
extern uint16_t up[TCOUPLE_NB], dn[TCOUPLE_NB];
|
|
||||||
extern int32_t tcouple_cnt;
|
extern int32_t tcouple_cnt;
|
||||||
|
|
||||||
void temp_tcouple_adc_init(void);
|
void temp_tcouple_adc_init(void);
|
||||||
|
|||||||
Reference in New Issue
Block a user