You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2021/03/17 15:40:37 UTC

[incubator-nuttx] 21/21: boards: mips: pic32mx_lcd1602.c: fix Mixed case identifier

This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit 02f6b803368547ffe7300ed2aea86ba47099bc8c
Author: Alin Jerpelea <al...@sony.com>
AuthorDate: Wed Mar 17 11:07:33 2021 +0100

    boards: mips: pic32mx_lcd1602.c: fix Mixed case identifier
    
    Fix nxstyle compain about Mixed case identifier
    
    Signed-off-by: Alin Jerpelea <al...@sony.com>
---
 boards/mips/pic32mx/sure-pic32mx/src/pic32mx_lcd1602.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/boards/mips/pic32mx/sure-pic32mx/src/pic32mx_lcd1602.c b/boards/mips/pic32mx/sure-pic32mx/src/pic32mx_lcd1602.c
index 1063ac4..d5fa082 100644
--- a/boards/mips/pic32mx/sure-pic32mx/src/pic32mx_lcd1602.c
+++ b/boards/mips/pic32mx/sure-pic32mx/src/pic32mx_lcd1602.c
@@ -1086,16 +1086,16 @@ int up_lcd1602_initialize(void)
        * Function set: 5x7 Style | N=2R | DL=8D
        */
 
-      lcd_wrcommand(HD4478OU_FUNC | HD4478OU_FUNC_F5x7 |
+      lcd_wrcommand(HD4478OU_FUNC | HD4478OU_FUNC_F5X7 |
                     HD4478OU_FUNC_N1 | HD4478OU_FUNC_DL8D);
       up_udelay(100);            /* Delay more than 100uS */
-      lcd_wrcommand(HD4478OU_FUNC | HD4478OU_FUNC_F5x7 |
+      lcd_wrcommand(HD4478OU_FUNC | HD4478OU_FUNC_F5X7 |
                     HD4478OU_FUNC_N1 | HD4478OU_FUNC_DL8D);
       up_udelay(40);             /* Delay more than 40uS */
-      lcd_wrcommand(HD4478OU_FUNC | HD4478OU_FUNC_F5x7 |
+      lcd_wrcommand(HD4478OU_FUNC | HD4478OU_FUNC_F5X7 |
                     HD4478OU_FUNC_N1 | HD4478OU_FUNC_DL8D);
       lcd_waitbusy();
-      lcd_wrcommand(HD4478OU_FUNC | HD4478OU_FUNC_F5x7 |
+      lcd_wrcommand(HD4478OU_FUNC | HD4478OU_FUNC_F5X7 |
                     HD4478OU_FUNC_N1 | HD4478OU_FUNC_DL8D);
       lcd_waitbusy();