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

[incubator-nuttx] branch master updated: arm/cxd56xx: Beautify the coding style in cxd56_gnss.c

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 3d24288  arm/cxd56xx: Beautify the coding style in cxd56_gnss.c
3d24288 is described below

commit 3d24288a6632afc119e80629daee866b6fc6e875
Author: Xiang Xiao <xi...@xiaomi.com>
AuthorDate: Tue Feb 23 11:03:17 2021 +0800

    arm/cxd56xx: Beautify the coding style in cxd56_gnss.c
    
    Signed-off-by: Xiang Xiao <xi...@xiaomi.com>
---
 arch/arm/src/cxd56xx/cxd56_gnss.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/arch/arm/src/cxd56xx/cxd56_gnss.c b/arch/arm/src/cxd56xx/cxd56_gnss.c
index 0cbe789..68aebfd 100644
--- a/arch/arm/src/cxd56xx/cxd56_gnss.c
+++ b/arch/arm/src/cxd56xx/cxd56_gnss.c
@@ -890,10 +890,10 @@ static int cxd56_gnss_set_ephemeris(FAR struct file *filep,
 static int cxd56_gnss_save_backup_data(FAR struct file *filep,
                                        unsigned long    arg)
 {
-  FAR char *buf;
+  FAR char   *buf;
   struct file file;
-  int       n = 0;
-  int32_t   offset = 0;
+  int         n = 0;
+  int32_t     offset = 0;
 
   buf = (char *)kmm_malloc(CONFIG_CXD56_GNSS_BACKUP_BUFFER_SIZE);
   if (buf == NULL)
@@ -2207,7 +2207,7 @@ cxd56_gnss_read_cep_file(FAR struct file *fp, int32_t offset,
 
 static void cxd56_gnss_read_backup_file(FAR int *retval)
 {
-  FAR char *  buf;
+  FAR char   *buf;
   struct file file;
   int32_t     offset = 0;
   size_t      n;