summaryrefslogtreecommitdiff
path: root/source/hal/source/components
diff options
context:
space:
mode:
Diffstat (limited to 'source/hal/source/components')
-rw-r--r--source/hal/source/components/lcd/source/glcd_mps3/glcd_mps3.c4
-rw-r--r--source/hal/source/components/lcd/source/lcd_img.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/source/hal/source/components/lcd/source/glcd_mps3/glcd_mps3.c b/source/hal/source/components/lcd/source/glcd_mps3/glcd_mps3.c
index 1a10bad..cfbb386 100644
--- a/source/hal/source/components/lcd/source/glcd_mps3/glcd_mps3.c
+++ b/source/hal/source/components/lcd/source/glcd_mps3/glcd_mps3.c
@@ -1,5 +1,5 @@
/*
- * SPDX-FileCopyrightText: Copyright 2022 Arm Limited and/or its affiliates <open-source-office@arm.com>
+ * SPDX-FileCopyrightText: Copyright 2022-2023 Arm Limited and/or its affiliates <open-source-office@arm.com>
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the "License");
@@ -203,7 +203,7 @@ void GLCD_DrawChar(
{
unsigned int i, j, k, pixs;
- /* Sanity check: out of bounds? */
+ /* Heatlh check: out of bounds? */
if ((x + cw) > GLCD_WIDTH || (y + ch) > GLCD_HEIGHT) {
return;
}
diff --git a/source/hal/source/components/lcd/source/lcd_img.c b/source/hal/source/components/lcd/source/lcd_img.c
index d3ce260..752fe86 100644
--- a/source/hal/source/components/lcd/source/lcd_img.c
+++ b/source/hal/source/components/lcd/source/lcd_img.c
@@ -1,5 +1,5 @@
/*
- * SPDX-FileCopyrightText: Copyright 2022 Arm Limited and/or its affiliates <open-source-office@arm.com>
+ * SPDX-FileCopyrightText: Copyright 2022-2023 Arm Limited and/or its affiliates <open-source-office@arm.com>
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the "License");
@@ -41,7 +41,7 @@ int lcd_display_image(const uint8_t* data, const uint32_t width,
const uint32_t pos_x, const uint32_t pos_y,
const uint32_t downsample_factor)
{
- /* Sanity checks */
+ /* Health checks */
assert(data);
if ((pos_x + width/downsample_factor > GLCD_WIDTH) ||
(pos_y + height/downsample_factor > GLCD_HEIGHT)) {