summaryrefslogtreecommitdiff
path: root/source/hal/include
diff options
context:
space:
mode:
authorRichard Burton <richard.burton@arm.com>2022-02-15 16:39:18 +0000
committerIsabella Gottardi <isabella.gottardi@arm.com>2022-02-15 17:12:02 +0000
commit9c54990fac1fd1949df3f021e81bec28bce28903 (patch)
treec66931c76f3be3874ed06007baabadf330496cb0 /source/hal/include
parent31916b62321020b4949474b5d0a84799a27436d0 (diff)
downloadml-embedded-evaluation-kit-9c54990fac1fd1949df3f021e81bec28bce28903.tar.gz
MLECO-2946: Draw boxes directly on the LCD
* No longer copy the source image * Boxes are drawn directly to LCD rather than on source image * Change c style casts to static casts Signed-off-by: Richard Burton <richard.burton@arm.com> Change-Id: Ib8e926cb1a87bc2c40424eb5aace40170c526f1d
Diffstat (limited to 'source/hal/include')
-rw-r--r--source/hal/include/data_psn.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/hal/include/data_psn.h b/source/hal/include/data_psn.h
index 8c14c77..05d7649 100644
--- a/source/hal/include/data_psn.h
+++ b/source/hal/include/data_psn.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2021 Arm Limited. All rights reserved.
+ * Copyright (c) 2021-2022 Arm Limited. All rights reserved.
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the "License");
@@ -31,7 +31,7 @@ typedef struct data_presentation_module {
int (* system_init)(void); /**< pointer to init function */
/** Pointer to the image presentation function */
- int (* present_data_image)(uint8_t *data, const uint32_t width,
+ int (* present_data_image)(const uint8_t *data, const uint32_t width,
const uint32_t height, const uint32_t channels,
const uint32_t pos_x, const uint32_t pos_y,
const uint32_t downsample_factor);