diff options
author | Jonathan Aillet <jonathan.aillet@iot.bzh> | 2018-06-08 10:50:02 +0200 |
---|---|---|
committer | Jonathan Aillet <jonathan.aillet@iot.bzh> | 2018-10-08 15:52:51 +0200 |
commit | 2ae25fb1dab5e907223d2e8fc54364d050ee18a8 (patch) | |
tree | dbcaecd0b3ec24652572c63674e7574cf5c4b0f6 /4a-hal | |
parent | b55d3b5dfeb0a4dc2495290cf15fab8386bd9e9d (diff) |
Set external hal status to ready at loading.
Set external hal status to ready at loading, its a temporary measure
to handle external hal for now.
Change-Id: I248d2b1288af601681f5567f34037ecc8e06c6aa
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
Diffstat (limited to '4a-hal')
-rw-r--r-- | 4a-hal/4a-hal-manager/4a-hal-manager-cb.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/4a-hal/4a-hal-manager/4a-hal-manager-cb.c b/4a-hal/4a-hal-manager/4a-hal-manager-cb.c index 10fae1c..6d3c4c7 100644 --- a/4a-hal/4a-hal-manager/4a-hal-manager-cb.c +++ b/4a-hal/4a-hal-manager/4a-hal-manager-cb.c @@ -189,7 +189,8 @@ void HalMgrLoad(AFB_ReqT request) addedHal = HalUtlAddHalApiToHalList(HalMgrGlobalData); addedHal->internal = false; - addedHal->status = HAL_STATUS_UNAVAILABLE; + // TBD JAI : initialize external to unavailable once event from external hal will be handled + addedHal->status = HAL_STATUS_READY; addedHal->apiName = strdup(apiName); addedHal->sndCardPath = strdup(sndCardPath); |