mirror of
https://gitlab.com/manzerbredes/ina260-sysfs-driver.git
synced 2025-04-19 04:09:45 +00:00
Minor changes
This commit is contained in:
parent
b5382a57fd
commit
c3df82853b
1 changed files with 1 additions and 1 deletions
2
ina260.c
2
ina260.c
|
@ -17,10 +17,10 @@
|
||||||
#define INA260_REG_ALERTLIMIT 0x07
|
#define INA260_REG_ALERTLIMIT 0x07
|
||||||
#define INA260_REG_MANUFACTURER 0xFE
|
#define INA260_REG_MANUFACTURER 0xFE
|
||||||
#define INA260_REG_DIE 0xFF
|
#define INA260_REG_DIE 0xFF
|
||||||
|
|
||||||
#undef current
|
#undef current
|
||||||
|
|
||||||
static struct regmap_config ina260_regmap_config = {
|
static struct regmap_config ina260_regmap_config = {
|
||||||
|
.max_register = 0xFF,
|
||||||
.reg_bits = 8,
|
.reg_bits = 8,
|
||||||
.val_bits = 16,
|
.val_bits = 16,
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue