From 2ea46232a15aaf7600f1b92314612f4aa2fc6cd2 Mon Sep 17 00:00:00 2001 From: Kshitij Sisodia Date: Mon, 19 Dec 2022 16:37:33 +0000 Subject: MLECO-3611: Formatting fixes for generated files. Template files updated for generated files to adhere to coding guidelines and clang format configuration. There will still be unavoidable violations, but most of the others have been fixed. Change-Id: Ia03db40f8c62a369f2b07fe02eea65e41993a523 Signed-off-by: Kshitij Sisodia --- docs/sections/building.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'docs') diff --git a/docs/sections/building.md b/docs/sections/building.md index 42b0daa..1489343 100644 --- a/docs/sections/building.md +++ b/docs/sections/building.md @@ -838,8 +838,8 @@ For example, the generated utility functions for image classification are: extern const uint8_t im0[IMAGE_DATA_SIZE]; extern const uint8_t im1[IMAGE_DATA_SIZE]; - const char* get_filename(const uint32_t idx); - const uint8_t* get_img_array(const uint32_t idx); + const char* GetFilename(const uint32_t idx); + const uint8_t* GetImgArray(const uint32_t idx); #endif /* GENERATED_IMAGES_H */ ``` @@ -859,7 +859,7 @@ For example, the generated utility functions for image classification are: im1 }; - const char* get_filename(const uint32_t idx) + const char* GetFilename(const uint32_t idx) { if (idx < NUMBER_OF_FILES) { return img_filenames[idx]; @@ -867,7 +867,7 @@ For example, the generated utility functions for image classification are: return nullptr; } - const uint8_t* get_img_array(const uint32_t idx) + const uint8_t* GetImgArray(const uint32_t idx) { if (idx < NUMBER_OF_FILES) { return img_arrays[idx]; -- cgit v1.2.1