rename sensor.h
This commit is contained in:
parent
7e58a0b9aa
commit
e3b7c839e0
21 changed files with 6177 additions and 6181 deletions
|
|
@ -9,7 +9,7 @@
|
|||
#include "thb2_main.h"
|
||||
#include "pwrmgr.h"
|
||||
#include "jump_function.h"
|
||||
#include "sensor.h"
|
||||
#include "sensors.h"
|
||||
|
||||
#ifndef ADC_PIN
|
||||
#define ADC_PIN GPIO_P11
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
#include "peripheral.h"
|
||||
|
||||
#include "battservice.h"
|
||||
#include "sensor.h"
|
||||
#include "sensors.h"
|
||||
/*********************************************************************
|
||||
MACROS
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
#include "config.h"
|
||||
#include "bcomdef.h"
|
||||
#include "gapbondmgr.h"
|
||||
#include "sensor.h"
|
||||
#include "sensors.h"
|
||||
#include "bthome_beacon.h"
|
||||
|
||||
uint8_t bthome_data_beacon(void * padbuf) {
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@
|
|||
#include "flash_eep.h"
|
||||
#include "bleperipheral.h"
|
||||
#include "sbp_profile.h"
|
||||
#include "sensor.h"
|
||||
#include "sensors.h"
|
||||
#include "cmd_parcer.h"
|
||||
#include "devinfoservice.h"
|
||||
#include "ble_ota.h"
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@
|
|||
#include "flash_eep.h"
|
||||
#include "thb2_main.h"
|
||||
#include "sbp_profile.h"
|
||||
#include "sensor.h"
|
||||
#include "sensors.h"
|
||||
#include "cmd_parser.h"
|
||||
#include "devinfoservice.h"
|
||||
#include "ble_ota.h"
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@
|
|||
#include "thservice.h"
|
||||
#include "thb2_peripheral.h"
|
||||
#include "bthome_beacon.h"
|
||||
#include "sensor.h"
|
||||
#include "sensors.h"
|
||||
#include "battery.h"
|
||||
#include "sbp_profile.h"
|
||||
#include "logger.h"
|
||||
|
|
@ -91,7 +91,7 @@ void test_config(void) {
|
|||
if (cfg.rf_tx_power > RF_PHY_TX_POWER_EXTRA_MAX)
|
||||
cfg.rf_tx_power = RF_PHY_TX_POWER_EXTRA_MAX;
|
||||
g_rfPhyTxPower = cfg.rf_tx_power;
|
||||
rf_phy_set_txPower(g_rfPhyTxPower);
|
||||
//rf_phy_set_txPower(g_rfPhyTxPower);
|
||||
|
||||
gapRole_MinConnInterval = periConnParameters.intervalMin = DEFAULT_DESIRED_MIN_CONN_INTERVAL;
|
||||
gapRole_MaxConnInterval = periConnParameters.intervalMax = DEFAULT_DESIRED_MAX_CONN_INTERVAL;
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
#include "gpio.h"
|
||||
#include "rom_sym_def.h"
|
||||
#include "dev_i2c.h"
|
||||
#include "sensor.h"
|
||||
#include "sensors.h"
|
||||
#include "lcd_th05.h"
|
||||
#include "thb2_peripheral.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
#include "flash.h"
|
||||
#include "flash_eep.h"
|
||||
#include "logger.h"
|
||||
#include "sensor.h"
|
||||
#include "sensors.h"
|
||||
#include "cmd_parser.h"
|
||||
|
||||
#define RAM
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@
|
|||
#include "logger.h"
|
||||
#include "hci.h"
|
||||
#include "lcd_th05.h"
|
||||
#include "sensor.h"
|
||||
#include "sensors.h"
|
||||
|
||||
/*********************************************************************
|
||||
* MACROS
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "sensor.h"
|
||||
#include "sensors.h"
|
||||
|
||||
measured_data_t measured_data;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
sensor.h
|
||||
sensors.h
|
||||
Author: pvvx
|
||||
*/
|
||||
|
||||
|
|
@ -66,7 +66,7 @@
|
|||
#define CHT8215_CFG_CONSEC_FQ 0x0006
|
||||
#define CHT8215_CFG_ATM 0x0001
|
||||
|
||||
#define CHT8315_MID 0x5959
|
||||
#define CHT8215_MID 0x5959
|
||||
#define CHT8215_VID 0x1582
|
||||
|
||||
/* CHT8305 https://github.com/pvvx/pvvx.github.io/blob/master/BTH01/CHT8305.pdf */
|
||||
|
|
@ -38,7 +38,7 @@
|
|||
#include "thservice.h"
|
||||
#include "thb2_peripheral.h"
|
||||
#include "bthome_beacon.h"
|
||||
#include "sensor.h"
|
||||
#include "sensors.h"
|
||||
#include "battery.h"
|
||||
#include "sbp_profile.h"
|
||||
#include "ble_ota.h"
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@
|
|||
//#include "hiddev.h"
|
||||
|
||||
#include "thservice.h"
|
||||
#include "sensor.h"
|
||||
#include "sensors.h"
|
||||
/*********************************************************************
|
||||
MACROS
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue