Update and fix

This commit is contained in:
lilian 2016-12-19 10:54:26 +01:00
parent 9ee3ec59ab
commit b9e1472e81
2 changed files with 11 additions and 20 deletions

View file

@ -30,8 +30,8 @@
#define INA3221_REG_VALID_POWER_UPPER_LIMIT (0x10)
#define INA3221_REG_VALID_POWER_LOWER_LIMIT (0x11)
#define INA3221_DEFAULT_CONFIG (0x7127) //Default register after reset
#define INA3221_DEFAULT_MASK (0x0002)
#define INA3221_DEFAULT_POWER_UPPER_LIMIT (0x2710) //10V
#define INA3221_DEFAULT_POWER_LOWER_LIMIT (0x2328) //9V
/*