Skip to content

Commit 7ada93f

Browse files
authored
Update usbpd_def.h #178
Fixed mis-spelling of Voltage in various struct names openwch/arduino_core_ch32#178
1 parent 81bd787 commit 7ada93f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

libraries/USBPD_SINK/src/usbpd_def.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ extern "C" {
3030
typedef struct
3131
{
3232
uint32_t MaxCurrentIn10mAunits : 10u;
33-
uint32_t VolatageIn50mVunits : 10u;
33+
uint32_t VoltageIn50mVunits : 10u;
3434
uint32_t PeakCurrent : 2u;
3535
uint32_t Reserved_22bit : 1u;
3636
uint32_t EPRModeCapable : 1u;
@@ -47,9 +47,9 @@ typedef struct
4747
{
4848
uint32_t MaxCurrentIn50mAincrements : 7u;
4949
uint32_t Reserved_7bit : 1u; // shall br set to zero
50-
uint32_t MinVlotageIn100mVincrements: 8u;
50+
uint32_t MinVoltageIn100mVincrements: 8u;
5151
uint32_t Reserved_16bit : 1u; // shall br set to zero
52-
uint32_t MaxVlotageIn100mVincrements: 8u;
52+
uint32_t MaxVoltageIn100mVincrements: 8u;
5353
uint32_t Reserved_25_26bit : 2u; // shall br set to zero
5454
uint32_t PPSpowerLimited : 1u;
5555
uint32_t SPRprogrammablePowerSupply : 2u; // 00b

0 commit comments

Comments
 (0)