mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-29 10:00:51 +00:00
pd: fix VDM commands numbering
In structured VDMs, the ACK command is b01 and the NAK command is b10, update the defines accordingly. Signed-off-by: Vincent Palatin <vpalatin@chromium.org> BRANCH=samus BUG=none TEST=interoperability test with another power source. Change-Id: I8050ae262dc5ab538d973f802111c2874358ea37 Reviewed-on: https://chromium-review.googlesource.com/223725 Tested-by: Vincent Palatin <vpalatin@chromium.org> Reviewed-by: Todd Broch <tbroch@chromium.org> Reviewed-by: Alec Berg <alecaberg@chromium.org> Commit-Queue: Vincent Palatin <vpalatin@chromium.org>
This commit is contained in:
committed by
chrome-internal-fetch
parent
66d75af877
commit
fd709edf12
@@ -192,8 +192,8 @@ struct pd_policy {
|
||||
#define VDO_CMDT_MASK VDO_CMDT(0x3)
|
||||
|
||||
#define CMDT_INIT 0
|
||||
#define CMDT_RSP_NAK 1
|
||||
#define CMDT_RSP_ACK 2
|
||||
#define CMDT_RSP_ACK 1
|
||||
#define CMDT_RSP_NAK 2
|
||||
#define CMDT_RSP_BUSY 3
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user