diff options
author | Jonathan Aillet <jonathan.aillet@iot.bzh> | 2019-03-05 15:47:38 +0100 |
---|---|---|
committer | Jonathan Aillet <jonathan.aillet@iot.bzh> | 2019-05-22 16:31:59 +0200 |
commit | 196e723e79a1f5eae41cf4a8b1450df0679a4af8 (patch) | |
tree | 6f2a37c49e1a4211d6b34a1e1efa586276b68cb1 /4a-hal/4a-hal-controllers/4a-hal-controllers-cb.c | |
parent | bea6bdb2e661b1de821a65e338f57f9e7d2f5c0a (diff) |
Clarify use of linked list
Clarify use of linked list by renaming some variables and functions.
BUG-AGL: SPEC-2329
Change-Id: I21ada0b2914c99dfeecfcb6b55c8976dee1a0cd7
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
Diffstat (limited to '4a-hal/4a-hal-controllers/4a-hal-controllers-cb.c')
-rw-r--r-- | 4a-hal/4a-hal-controllers/4a-hal-controllers-cb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/4a-hal/4a-hal-controllers/4a-hal-controllers-cb.c b/4a-hal/4a-hal-controllers/4a-hal-controllers-cb.c index 98d8d53..c38b057 100644 --- a/4a-hal/4a-hal-controllers/4a-hal-controllers-cb.c +++ b/4a-hal/4a-hal-controllers/4a-hal-controllers-cb.c @@ -402,7 +402,7 @@ int HalCtlsHalMapConfig(afb_api_t apiHandle, CtlSectionT *section, json_object * * HAL controllers verbs functions * ******************************************************************************/ -json_object *HalCtlsGetJsonArrayForMixerDataTable(afb_api_t apiHandle, struct CtlHalMixerData **firstMixerData, enum MixerDataType dataType) +json_object *HalCtlsGetJsonArrayForMixerDataTable(afb_api_t apiHandle, struct CtlHalMixerData **mixerDataList, enum MixerDataType dataType) { json_object *mixerDataArrayJ, *currentMixerDataJ; @@ -419,7 +419,7 @@ json_object *HalCtlsGetJsonArrayForMixerDataTable(afb_api_t apiHandle, struct Ct return NULL; } - currentMixerData = *firstMixerData; + currentMixerData = *mixerDataList; while(currentMixerData) { switch(dataType) { |