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 bc6c07e commit a2a15c7
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion include/nsysccr/cdc.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ typedef struct CCRCDCSoftwareVersion CCRCDCSoftwareVersion;
typedef struct CCRCDCSysDrhState CCRCDCSysDrhState;
typedef uint8_t CCRCDCDestination;
typedef uint32_t CCRCDCWpsStatusType;
typedef uint8_t CCRCDCDrcState;
typedef uint8_t CCRCDCWakeState;
typedef uint8_t CCRCDCUicConfigId;

Expand Down Expand Up @@ -221,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 a2a15c7

Please sign in to comment.