Skip to content

Commit

Permalink
nsysccr: Turn CCRCDCDrcState into a struct
Browse files Browse the repository at this point in the history
  • Loading branch information
Maschell committed Apr 4, 2024
1 parent f4689c5 commit 37b94cb
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion include/nsysccr/cdc.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ typedef struct CCRCDCUicConfig CCRCDCUicConfig;
typedef struct CCRCDCFWInfo CCRCDCFWInfo;
typedef struct CCRCDCSoftwareVersion CCRCDCSoftwareVersion;
typedef struct CCRCDCSysDrhState CCRCDCSysDrhState;
typedef struct CCRCDCDrcState CCRCDCDrcState;
typedef uint8_t CCRCDCDestination;
typedef uint32_t CCRCDCWpsStatusType;
typedef uint8_t CCRCDCDrcState;
typedef uint8_t CCRCDCWakeState;
typedef uint8_t CCRCDCUicConfigId;

Expand Down Expand Up @@ -220,6 +220,12 @@ WUT_CHECK_OFFSET(CCRCDCSoftwareVersion, 0x0, runningVersion);
WUT_CHECK_OFFSET(CCRCDCSoftwareVersion, 0x4, activeVersion);
WUT_CHECK_SIZE(CCRCDCSoftwareVersion, 0x8);

struct CCRCDCDrcState {
uint8_t state;
};
WUT_CHECK_OFFSET(CCRCDCDrcState, 0x0, state);
WUT_CHECK_SIZE(CCRCDCDrcState, 0x1);

struct CCRCDCSysDrhState {
uint8_t state;
};
Expand Down

0 comments on commit 37b94cb

Please sign in to comment.