comment out unused and unimplemented functions

This commit is contained in:
2020-09-13 19:16:52 -05:00
parent 618b28bf4e
commit 85cbe5836b

View File

@@ -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 <stdio.h>
#include "freertos/FreeRTOS.h"
@@ -9,14 +5,14 @@
#include "driver/i2c.h"
#include "bme280.h"
// pin numbers specific to this TTGO board
#define SCL_PIN 22
// pin numbers specific to this TTGO board with TFT screen
#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_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_normal_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); */
void user_delay_ms(uint32_t ms);
struct bme280_dev bme280;