Minor changes

This commit is contained in:
Loic Guegan 2023-08-14 12:01:43 +02:00
parent b5382a57fd
commit c3df82853b

View file

@ -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,
}; };