testing
This commit is contained in:
parent
222dfb5a95
commit
165f2813f5
@ -60,9 +60,8 @@ lib_deps_all =
|
|||||||
${common.lib_deps_rgbled}
|
${common.lib_deps_rgbled}
|
||||||
${common.lib_deps_gps}
|
${common.lib_deps_gps}
|
||||||
build_flags_basic =
|
build_flags_basic =
|
||||||
;-include include/wifiscan.h
|
'-include $PROJECTSRC_DIR/hal/${PIOENV}.h'
|
||||||
-include $PROJECTSRC_DIR/hal/${PIOENV}.h
|
'-include $PROJECTSRC_DIR/paxcounter.conf'
|
||||||
-include $PROJECTSRC_DIR/paxcounter.conf
|
|
||||||
-w
|
-w
|
||||||
;'-DARDUINO_LMIC_PROJECT_CONFIG_H="/$PROJECTSRC_DIR/lmic_config.h"'
|
;'-DARDUINO_LMIC_PROJECT_CONFIG_H="/$PROJECTSRC_DIR/lmic_config.h"'
|
||||||
'-DARDUINO_LMIC_PROJECT_CONFIG_H=../../../src/lmic_config.h'
|
'-DARDUINO_LMIC_PROJECT_CONFIG_H=../../../src/lmic_config.h'
|
||||||
|
@ -48,14 +48,22 @@ bool bme_read(void) {
|
|||||||
*/
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
// loop function which reads and processes data based on sensor settings
|
||||||
//Call to endless loop function which reads and processes data based on
|
void bme_loop(void *pvParameters) {
|
||||||
//sensor settings
|
|
||||||
|
configASSERT(((uint32_t)pvParameters) == 1); // FreeRTOS check
|
||||||
|
|
||||||
|
#ifdef HAS_BME
|
||||||
|
|
||||||
// State is saved every 10.000 samples, which means every 10.000 * 3 secs =
|
// State is saved every 10.000 samples, which means every 10.000 * 3 secs =
|
||||||
// 500 minutes
|
// 500 minutes
|
||||||
|
|
||||||
bsec_iot_loop(sleep, get_timestamp_us, output_ready, state_save, 10000);
|
bsec_iot_loop(sleep, get_timestamp_us, output_ready, state_save, 10000);
|
||||||
*/
|
|
||||||
|
vTaskDelete(NULL); // shoud never be reached
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
|
} // bme_loop()
|
||||||
|
|
||||||
int8_t user_i2c_read(uint8_t dev_id, uint8_t reg_addr, uint8_t *reg_data,
|
int8_t user_i2c_read(uint8_t dev_id, uint8_t reg_addr, uint8_t *reg_data,
|
||||||
uint16_t len) {
|
uint16_t len) {
|
||||||
|
Loading…
Reference in New Issue
Block a user