summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Hellstrom <daniel@gaisler.com>2019-11-18 14:15:02 +0100
committerDaniel Hellstrom <daniel@gaisler.com>2020-09-02 10:53:07 +0200
commit4d6be5a0acd1981047d250ba4e99bbb59a189717 (patch)
tree521cfd685a09199d349e4937ff7367648bedc4b5
parent0734a20aed66572db033074320e5c6236191a8f1 (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;