summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Aillet <jonathan.aillet@iot.bzh>2019-06-06 15:00:09 +0200
committerJonathan Aillet <jonathan.aillet@iot.bzh>2019-06-06 15:00:09 +0200
commitb7dec82b85e887716ca26839705ec1f291d3fedf (patch)
treea721140c1721256320d0d75e6fa6845bfadbc77f
parent9d3a506c398703a2b15f811ee1836b3535302632 (diff)
Correct an wrong declared enumeration
Correct an wrong declared enumeration by setting first enum item at '0' instead of '1'. BUG-AGL: SPEC-2329 Change-Id: Ia142e5c64d2e6a5415f27edc87fa0787d2088f5c Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
-rw-r--r--src/4a-internals-hal/4a-internals-hal-cb.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/4a-internals-hal/4a-internals-hal-cb.h b/src/4a-internals-hal/4a-internals-hal-cb.h
index bc4979a..68bf76c 100644
--- a/src/4a-internals-hal/4a-internals-hal-cb.h
+++ b/src/4a-internals-hal/4a-internals-hal-cb.h
@@ -26,8 +26,8 @@
// Enum for the type of subscription/subscription
enum SubscribeUnsubscribeType {
- SUBSCRIPTION = 1,
- UNSUBSCRIPTION = 2
+ SUBSCRIPTION = 0,
+ UNSUBSCRIPTION = 1
};
// Internals HAL event handler function