Skip to content

Commit

Permalink
Update Odyssey SBE state check
Browse files Browse the repository at this point in the history
Signed-off-by: Dhruvaraj Subhashchandran <[email protected]>
  • Loading branch information
dhruvibm committed Apr 25, 2024
1 parent 8288f4c commit ec4d4c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libpdbg/sbe_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ int sbe_ody_get_state(struct pdbg_target *fsi, enum sbe_state *state)
rc = sbe_ody_read_state_register(fsi, &value);
if (rc)
return -1;
if (value == SBE_STATE_CHECK_CFAM) {
if ((value == SBE_STATE_CHECK_CFAM) || (value == SBE_MSG_STATE_UNKNOWN)) {
rc = sbe_ody_read_msg_register(fsi, &msg.reg);
if (rc)
return -1;
Expand Down

0 comments on commit ec4d4c9

Please sign in to comment.