diff options
Diffstat (limited to 'scripts/py/templates/TestData.cc.template')
-rw-r--r-- | scripts/py/templates/TestData.cc.template | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/scripts/py/templates/TestData.cc.template b/scripts/py/templates/TestData.cc.template index 18f415a..f07879f 100644 --- a/scripts/py/templates/TestData.cc.template +++ b/scripts/py/templates/TestData.cc.template @@ -22,26 +22,26 @@ namespace {{namespace}} { {% endfor %} -static const {{data_type}} *ifm_arrays[] = { - {{ ifm_var_names|join(',\n\t') }} +static const {{data_type}} *ifmArrays[] = { + {{ ifm_var_names|join(',\n ') }} }; -static const {{data_type}} *ofm_arrays[] = { - {{ ofm_var_names|join(',\n\t') }} +static const {{data_type}} *ofmArrays[] = { + {{ ofm_var_names|join(',\n ') }} }; -const {{data_type}}* get_ifm_data_array(const uint32_t idx) +const {{data_type}}* GetIfmDataArray(const uint32_t idx) { if (idx < NUMBER_OF_IFM_FILES) { - return ifm_arrays[idx]; + return ifmArrays[idx]; } return nullptr; } -const {{data_type}}* get_ofm_data_array(const uint32_t idx) +const {{data_type}}* GetOfmDataArray(const uint32_t idx) { if (idx < NUMBER_OF_OFM_FILES) { - return ofm_arrays[idx]; + return ofmArrays[idx]; } return nullptr; } |