static char *config_device; /**< I2C bus device */
static int config_oversample = 1; /**< averaging window */
static char *config_device; /**< I2C bus device */
static int config_oversample = 1; /**< averaging window */
-static double config_press_offset = 0.0; /**< pressure offset */
-static double config_temp_offset = 0.0; /**< temperature offset */
+static double config_press_offset; /**< pressure offset */
+static double config_temp_offset; /**< temperature offset */
* @return Zero when successful
*/
static int averaging_create(averaging_t *avg, int size) {
* @return Zero when successful
*/
static int averaging_create(averaging_t *avg, int size) {
if (avg->ring_buffer == NULL) {
ERROR("barometer: averaging_create - ring buffer allocation of size %d "
"failed",
if (avg->ring_buffer == NULL) {
ERROR("barometer: averaging_create - ring buffer allocation of size %d "
"failed",