[rtems commit] grlib,grspw_pkt: correct link state enum numbering

Daniel Hellstrom danielh at rtems.org
Sun Mar 7 15:56:14 UTC 2021


Module:    rtems
Branch:    5
Commit:    291267113bdf2c453790fe1f6dc7c1933cf57515
Changeset: http://git.rtems.org/rtems/commit/?id=291267113bdf2c453790fe1f6dc7c1933cf57515

Author:    Daniel Hellstrom <daniel at gaisler.com>
Date:      Mon Nov 18 14:15:02 2019 +0100

grlib,grspw_pkt: correct link state enum numbering

Not used by the driver itself, but shuold be correct if used by
application.

Update #4316.

---

 bsps/include/grlib/grspw_pkt.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bsps/include/grlib/grspw_pkt.h b/bsps/include/grlib/grspw_pkt.h
index 595625b..ede60b7 100644
--- a/bsps/include/grlib/grspw_pkt.h
+++ b/bsps/include/grlib/grspw_pkt.h
@@ -150,8 +150,8 @@ typedef enum {
 	SPW_LS_ERRRST = 0,
 	SPW_LS_ERRWAIT = 1,
 	SPW_LS_READY = 2,
-	SPW_LS_CONNECTING = 3,
-	SPW_LS_STARTED = 4,
+	SPW_LS_STARTED = 3,
+	SPW_LS_CONNECTING = 4,
 	SPW_LS_RUN = 5
 } spw_link_state_t;
 



More information about the vc mailing list