summaryrefslogtreecommitdiff
path: root/chip/stm32/usb_power.h
diff options
context:
space:
mode:
Diffstat (limited to 'chip/stm32/usb_power.h')
-rw-r--r--chip/stm32/usb_power.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/chip/stm32/usb_power.h b/chip/stm32/usb_power.h
index f2f1426691..cbea9554a5 100644
--- a/chip/stm32/usb_power.h
+++ b/chip/stm32/usb_power.h
@@ -138,7 +138,7 @@ struct usb_power_ina_cfg {
/* i2c bus. TODO(nsanders): specify what kind of index. */
int port;
/* 7-bit i2c addr */
- uint16_t addr__7bf;
+ uint16_t addr_flags;
/* Base voltage. mV */
int mv;
@@ -243,7 +243,7 @@ struct __attribute__ ((__packed__)) usb_power_command_addina {
uint16_t command;
uint8_t port;
uint8_t type;
- uint16_t addr__7bf;
+ uint16_t addr_flags;
uint8_t extra;
uint32_t rs;
};