comment out unused and unimplemented functions
This commit is contained in:
@@ -1,7 +1,3 @@
|
|||||||
// implementations of all the stuff the Bosch BME280 reference code needs implemented
|
|
||||||
// in order to talk to an actual bme280 over i2c on esp32 in idf
|
|
||||||
// -- github.com/epvuc 12/2017
|
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include "freertos/FreeRTOS.h"
|
#include "freertos/FreeRTOS.h"
|
||||||
@@ -9,14 +5,14 @@
|
|||||||
#include "driver/i2c.h"
|
#include "driver/i2c.h"
|
||||||
#include "bme280.h"
|
#include "bme280.h"
|
||||||
|
|
||||||
// pin numbers specific to this TTGO board
|
// pin numbers specific to this TTGO board with TFT screen
|
||||||
#define SCL_PIN 22
|
|
||||||
#define SDA_PIN 21
|
#define SDA_PIN 21
|
||||||
|
#define SCL_PIN 22
|
||||||
|
|
||||||
int8_t user_i2c_read(uint8_t dev_addr, uint8_t reg_addr, uint8_t *reg_data, uint8_t cnt);
|
int8_t user_i2c_read(uint8_t dev_addr, uint8_t reg_addr, uint8_t *reg_data, uint8_t cnt);
|
||||||
int8_t user_i2c_write(uint8_t dev_addr, uint8_t reg_addr, uint8_t *reg_data, uint8_t cnt);
|
int8_t user_i2c_write(uint8_t dev_addr, uint8_t reg_addr, uint8_t *reg_data, uint8_t cnt);
|
||||||
int8_t stream_sensor_data_forced_mode(struct bme280_dev *dev);
|
/* int8_t stream_sensor_data_forced_mode(struct bme280_dev *dev); */
|
||||||
int8_t stream_sensor_data_normal_mode(struct bme280_dev *dev);
|
/* int8_t stream_sensor_data_normal_mode(struct bme280_dev *dev); */
|
||||||
void user_delay_ms(uint32_t ms);
|
void user_delay_ms(uint32_t ms);
|
||||||
|
|
||||||
struct bme280_dev bme280;
|
struct bme280_dev bme280;
|
||||||
|
|||||||
Reference in New Issue
Block a user