v1.0.2
* Fixed compilation warnings reported by latest versions of GCC * Reworked handling of temperature sensor * Clean-up of unused files * Added instructions and configuration files for packet forwarder auto-start with systemd * Added SX1250 radio calibration at startup
This commit is contained in:
parent
e63d9a345b
commit
df5cf56b74
25 changed files with 275 additions and 279 deletions
|
|
@ -33,8 +33,8 @@ License: Revised BSD License, see LICENSE.TXT file include in the project
|
|||
/* -------------------------------------------------------------------------- */
|
||||
/* --- PUBLIC CONSTANTS ----------------------------------------------------- */
|
||||
|
||||
#define I2C_PORT_TEMP_SENSOR_1 0x39
|
||||
#define I2C_PORT_TEMP_SENSOR_2 0x3B
|
||||
#define I2C_PORT_TEMP_SENSOR_0 0x39 /* STTS751-0DP3F */
|
||||
#define I2C_PORT_TEMP_SENSOR_1 0x3B /* STTS751-1DP3F */
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
/* --- PUBLIC FUNCTIONS ----------------------------------------------------- */
|
||||
|
|
@ -44,14 +44,14 @@ License: Revised BSD License, see LICENSE.TXT file include in the project
|
|||
@param TODO
|
||||
@return TODO
|
||||
*/
|
||||
int lgw_stts751_configure(void);
|
||||
int stts751_configure(int i2c_fd, uint8_t i2c_addr);
|
||||
|
||||
/**
|
||||
@brief TODO
|
||||
@param TODO
|
||||
@return TODO
|
||||
*/
|
||||
int lgw_stts751_get_temperature(float * temperature);
|
||||
int stts751_get_temperature(int i2c_fd, uint8_t i2c_addr, float * temperature);
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue