Return if read actually worked for fusb

This commit is contained in:
Ben V. Brown
2021-04-27 19:54:56 +10:00
parent db39d9ab2c
commit 9d2124387c
2 changed files with 4 additions and 4 deletions

View File

@@ -283,7 +283,7 @@ void fusb_send_hardrst();
/*
* Read the FUSB302B status and interrupt flags into *status
*/
void fusb_get_status(union fusb_status *status);
bool fusb_get_status(union fusb_status *status);
/*
* Read the FUSB302B BC_LVL as an enum fusb_typec_current