diff options
Diffstat (limited to '4a-hal/4a-hal-manager')
-rw-r--r-- | 4a-hal/4a-hal-manager/4a-hal-manager-cb.c | 7 | ||||
-rw-r--r-- | 4a-hal/4a-hal-manager/4a-hal-manager-events.c | 1 | ||||
-rw-r--r-- | 4a-hal/4a-hal-manager/4a-hal-manager.c | 1 |
3 files changed, 3 insertions, 6 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 73e0e7a..680863e 100644 --- a/4a-hal/4a-hal-manager/4a-hal-manager-cb.c +++ b/4a-hal/4a-hal-manager/4a-hal-manager-cb.c @@ -19,7 +19,6 @@ #include <stdio.h> #include <string.h> -#include <stdbool.h> #include <wrap-json.h> @@ -193,7 +192,7 @@ void HalMgrLoad(AFB_ReqT request) addedHal = HalUtlAddHalApiToHalList(&HalMgrGlobalData->first); - addedHal->internal = false; + addedHal->internal = 0; // TBD JAI : initialize external to unavailable once event from external hal will be handled addedHal->status = HAL_STATUS_READY; @@ -278,7 +277,7 @@ void HalMgrSubscribeEvent(AFB_ReqT request) { AFB_ReqWarning(request, "%s not implemented yet", __func__); - AFB_ReqSuccess(request, json_object_new_boolean(false), NULL); + AFB_ReqSuccess(request, json_object_new_boolean(0), NULL); } // TBD JAI : to implement @@ -286,5 +285,5 @@ void HalMgrUnsubscribeEvent(AFB_ReqT request) { AFB_ReqWarning(request, "%s not implemented yet", __func__); - AFB_ReqSuccess(request, json_object_new_boolean(false), NULL); + AFB_ReqSuccess(request, json_object_new_boolean(0), NULL); }
\ No newline at end of file diff --git a/4a-hal/4a-hal-manager/4a-hal-manager-events.c b/4a-hal/4a-hal-manager/4a-hal-manager-events.c index a2bbe33..96299a0 100644 --- a/4a-hal/4a-hal-manager/4a-hal-manager-events.c +++ b/4a-hal/4a-hal-manager/4a-hal-manager-events.c @@ -19,7 +19,6 @@ #include <stdio.h> #include <string.h> -#include <stdbool.h> #include <wrap-json.h> diff --git a/4a-hal/4a-hal-manager/4a-hal-manager.c b/4a-hal/4a-hal-manager/4a-hal-manager.c index 61e2474..8a447c4 100644 --- a/4a-hal/4a-hal-manager/4a-hal-manager.c +++ b/4a-hal/4a-hal-manager/4a-hal-manager.c @@ -18,7 +18,6 @@ #define _GNU_SOURCE #include <stdio.h> -#include <stdbool.h> #include <string.h> #include <afb-definitions.h> |