aboutsummaryrefslogtreecommitdiffstats
path: root/4a-hal/4a-hal-controllers
diff options
context:
space:
mode:
authorJonathan Aillet <jonathan.aillet@iot.bzh>2018-05-26 22:59:00 +0200
committerJonathan Aillet <jonathan.aillet@iot.bzh>2018-10-08 15:51:00 +0200
commitbd32e8289b5ac087d40194ec2d3338610d1b6e4b (patch)
tree2b99e5031db3df6992c6a9e619ad140bf9ea5ac3 /4a-hal/4a-hal-controllers
parent44dab57c4ade082e697688506b9e0cee277c5558 (diff)
Rename function used to load verbs into a dynamic api
Rename function used to load verbs into a dynamic api from 'HalUtlLoadStaticVerbs' to 'HalUtlLoadVerbs' because it is used to load not only static verbs. Change-Id: Idc033ccf0a8e7556e0809e8fa3554d09d0e81d39 Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
Diffstat (limited to '4a-hal/4a-hal-controllers')
-rw-r--r--4a-hal/4a-hal-controllers/4a-hal-controllers-api-loader.c2
1 files changed, 1 insertions, 1 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 119e6b6..a20297b 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
@@ -121,7 +121,7 @@ static int HalCtlsLoadOneApi(void *cbdata, afb_dynapi *apiHandle)
afb_dynapi_set_userdata(apiHandle, ctrlConfig);
// Add static controls verbs
- if(HalUtlLoadStaticVerbs(apiHandle, CtlHalDynApiStaticVerbs)) {
+ if(HalUtlLoadVerbs(apiHandle, CtlHalDynApiStaticVerbs)) {
AFB_DYNAPI_ERROR(apiHandle, "%s : load Section : fail to register static V2 verbs", __func__);
return 1;
}