summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Hellstrom <daniel@gaisler.com>2019-11-18 14:15:02 +0100
committerDaniel Hellstrom <daniel@gaisler.com>2020-10-16 15:35:11 +0200
commit712dd6974d3f65b047bf6192967187091a9c03af (patch)
treec7f42527677412fa19f66a458f9810df8d5fdc45
parentbf936a1e2896bf871ca4804478a53ecdf0e20ad9 (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;