Skip to content

Commit f31af68

Browse files
committed
chromium_ec: Make commands it all uint16
Only code formatting difference. Signed-off-by: Daniel Schaefer <[email protected]>
1 parent 6590d5b commit f31af68

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

framework_lib/src/chromium_ec/command.rs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,18 +34,18 @@ pub enum EcCommands {
3434
PwmSetDuty = 0x0025,
3535
PwmGetDuty = 0x0026,
3636
SetTabletMode = 0x0031,
37-
GpioGet = 0x93,
38-
I2cPassthrough = 0x9e,
39-
ConsoleSnapshot = 0x97,
40-
ConsoleRead = 0x98,
37+
GpioGet = 0x0093,
38+
I2cPassthrough = 0x009e,
39+
ConsoleSnapshot = 0x0097,
40+
ConsoleRead = 0x0098,
4141
/// List the features supported by the firmware
42-
GetFeatures = 0x0D,
42+
GetFeatures = 0x000D,
4343
/// Force reboot, causes host reboot as well
44-
Reboot = 0xD1,
44+
Reboot = 0x00D1,
4545
/// Control EC boot
46-
RebootEc = 0xD2,
46+
RebootEc = 0x00D2,
4747
/// Get information about PD controller power
48-
UsbPdPowerInfo = 0x103,
48+
UsbPdPowerInfo = 0x0103,
4949

5050
// Framework specific commands
5151
/// Configure the behavior of the flash notify

0 commit comments

Comments
 (0)