ADS1115: skip negative values.

This commit is contained in:
2019-07-29 10:18:14 +01:00
committed by Thomas Klaehn
parent eadddf7334
commit f0c3514884
3 changed files with 16 additions and 5 deletions

View File

@@ -2,7 +2,7 @@
#define __ADS1115__
#include <stdint.h>
#include <libi2c_bb/i2c_bb.h>
#include <libi2c_bb/i2c.h>
struct ads1115_dev {
struct i2c_bb *i2c_dev;