diff options
Diffstat (limited to '4a-hal')
-rw-r--r-- | 4a-hal/4a-hal-controllers/4a-hal-controllers-api-loader.c | 2 | ||||
-rw-r--r-- | 4a-hal/4a-hal-utilities/4a-hal-utilities-data.h | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/4a-hal/4a-hal-controllers/4a-hal-controllers-api-loader.c b/4a-hal/4a-hal-controllers/4a-hal-controllers-api-loader.c index e11f989..403b934 100644 --- a/4a-hal/4a-hal-controllers/4a-hal-controllers-api-loader.c +++ b/4a-hal/4a-hal-controllers/4a-hal-controllers-api-loader.c @@ -90,7 +90,7 @@ static int HalCtlsInitOneApi(AFB_ApiT apiHandle) return -3; // Fill SpecificHalDatadata structure - currentCtlHalData->internal = (unsigned int) true; + currentCtlHalData->internal = true; currentCtlHalData->apiName = (char *) ctrlConfig->api; currentCtlHalData->sndCard = (char *) ctrlConfig->uid; diff --git a/4a-hal/4a-hal-utilities/4a-hal-utilities-data.h b/4a-hal/4a-hal-utilities/4a-hal-utilities-data.h index b255bd8..53a8f69 100644 --- a/4a-hal/4a-hal-utilities/4a-hal-utilities-data.h +++ b/4a-hal/4a-hal-utilities/4a-hal-utilities-data.h @@ -19,6 +19,7 @@ #define _HAL_UTILITIES_DATA_INCLUDE_ #include <stdio.h> +#include <stdbool.h> #include <wrap-json.h> @@ -67,7 +68,7 @@ struct SpecificHalData { char *sndCard; int sndCardId; char *info; - unsigned int internal; + bool internal; char *author; char *version; |