summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Hellstrom <daniel@gaisler.com>2019-11-18 14:15:02 +0100
committerDaniel Hellstrom <daniel@gaisler.com>2021-03-11 17:35:28 +0100
commit6caff4d61d414705f79bff42c2fd4405cdebeb70 (patch)
treec300ea77d1d0b8ce5e67efb28e74def323bc02bc
parent4e0735c650ef125b19845dfa050ff9a4aab636f3 (diff)
grlib,grspw_pkt: correct link state enum numbering
Not used by the driver itself, but shuold be correct if used by application.
-rw-r--r--bsps/include/grlib/grspw_pkt.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/bsps/include/grlib/grspw_pkt.h b/bsps/include/grlib/grspw_pkt.h
index 595625b838..ede60b72a8 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;