You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by ag...@apache.org on 2020/10/17 08:04:16 UTC
[incubator-nuttx] branch master updated: tiva/cc13xx: Fix nxstyle
errors
This is an automated email from the ASF dual-hosted git repository.
aguettouche 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 b5d4f3f tiva/cc13xx: Fix nxstyle errors
b5d4f3f is described below
commit b5d4f3fbc9269b48ffc5d55d7e86fa1a015f6a6c
Author: Nathan Hartman <59...@users.noreply.github.com>
AuthorDate: Fri Oct 16 13:08:36 2020 -0400
tiva/cc13xx: Fix nxstyle errors
arch/arm/src/tiva/cc13xx/cc13x0_rom.h,
arch/arm/src/tiva/cc13xx/cc13x2_cc26x2_v2_rom.h:
* Fix nxstyle errors; nxstyle was complaining about lack of a
space after comma because of the presence of line
continuation backslashes immediately after the comma.
Removed these backslashes as they are not necessary: these
lines are typedefs, not preprocessor defines.
---
arch/arm/src/tiva/cc13xx/cc13x0_rom.h | 20 ++++++++++----------
arch/arm/src/tiva/cc13xx/cc13x2_cc26x2_v2_rom.h | 20 ++++++++++----------
2 files changed, 20 insertions(+), 20 deletions(-)
diff --git a/arch/arm/src/tiva/cc13xx/cc13x0_rom.h b/arch/arm/src/tiva/cc13xx/cc13x0_rom.h
index 4007dd9..b75853b 100644
--- a/arch/arm/src/tiva/cc13xx/cc13x0_rom.h
+++ b/arch/arm/src/tiva/cc13xx/cc13x0_rom.h
@@ -611,8 +611,8 @@
/* ROM Hard-API function interface types */
-typedef uint32_t (*fptr_crc32_t) (uint8_t * /* data */,\
- uint32_t /* bytecount */,\
+typedef uint32_t (*fptr_crc32_t) (uint8_t * /* data */,
+ uint32_t /* bytecount */,
uint32_t /* repeatcount */);
typedef uint32_t (*fptr_getflsize_t) (void);
@@ -623,26 +623,26 @@ typedef uint32_t (*fptr_reserved1_t) (uint32_t);
typedef uint32_t (*fptr_reserved2_t) (void);
-typedef uint32_t (*fptr_reserved3_t) (uint8_t *,\
- uint32_t ,\
+typedef uint32_t (*fptr_reserved3_t) (uint8_t *,
+ uint32_t ,
uint32_t);
typedef void (*fptr_resetdev_t) (void);
-typedef uint32_t (*fptr_fletcher32_t) (uint16_t * /* data */,\
- uint16_t /* wordcount */,\
+typedef uint32_t (*fptr_fletcher32_t) (uint16_t * /* data */,
+ uint16_t /* wordcount */,
uint16_t /* repeatcount */);
-typedef uint32_t (*fptr_minval_t) (uint32_t * /* data */,\
+typedef uint32_t (*fptr_minval_t) (uint32_t * /* data */,
uint32_t /* count */);
-typedef uint32_t (*fptr_maxval_t) (uint32_t * /* buffer */,\
+typedef uint32_t (*fptr_maxval_t) (uint32_t * /* buffer */,
uint32_t /* count */);
-typedef uint32_t (*fptr_meanval_t) (uint32_t * /* buffer */,\
+typedef uint32_t (*fptr_meanval_t) (uint32_t * /* buffer */,
uint32_t /* count */);
-typedef uint32_t (*fptr_stddval_t) (uint32_t * /* buffer */,\
+typedef uint32_t (*fptr_stddval_t) (uint32_t * /* buffer */,
uint32_t /* count */);
typedef void (*fptr_hfsourcesafeswitch_t) (void);
diff --git a/arch/arm/src/tiva/cc13xx/cc13x2_cc26x2_v2_rom.h b/arch/arm/src/tiva/cc13xx/cc13x2_cc26x2_v2_rom.h
index f2ef525..fd34cda 100644
--- a/arch/arm/src/tiva/cc13xx/cc13x2_cc26x2_v2_rom.h
+++ b/arch/arm/src/tiva/cc13xx/cc13x2_cc26x2_v2_rom.h
@@ -974,8 +974,8 @@
/* ROM Hard-API function interface types */
-typedef uint32_t (*fptr_crc32_t) (uint8_t * /* data */,\
- uint32_t /* bytecount */,\
+typedef uint32_t (*fptr_crc32_t) (uint8_t * /* data */,
+ uint32_t /* bytecount */,
uint32_t /* repeatcount */);
typedef uint32_t (*fptr_getflsize_t) (void);
@@ -986,26 +986,26 @@ typedef uint32_t (*fptr_reserved1_t) (uint32_t);
typedef uint32_t (*fptr_reserved2_t) (void);
-typedef uint32_t (*fptr_reserved3_t) (uint8_t *,\
- uint32_t,\
+typedef uint32_t (*fptr_reserved3_t) (uint8_t *,
+ uint32_t,
uint32_t);
typedef void (*fptr_resetdev_t) (void);
-typedef uint32_t (*fptr_fletcher32_t) (uint16_t * /* data */,\
- uint16_t /* wordcount */,\
+typedef uint32_t (*fptr_fletcher32_t) (uint16_t * /* data */,
+ uint16_t /* wordcount */,
uint16_t /* repeatcount */);
-typedef uint32_t (*fptr_minval_t) (uint32_t * /* data */,\
+typedef uint32_t (*fptr_minval_t) (uint32_t * /* data */,
uint32_t /* count */);
-typedef uint32_t (*fptr_maxval_t) (uint32_t * /* buffer */,\
+typedef uint32_t (*fptr_maxval_t) (uint32_t * /* buffer */,
uint32_t /* count */);
-typedef uint32_t (*fptr_meanval_t) (uint32_t * /* buffer */,\
+typedef uint32_t (*fptr_meanval_t) (uint32_t * /* buffer */,
uint32_t /* count */);
-typedef uint32_t (*fptr_stddval_t) (uint32_t * /* buffer */,\
+typedef uint32_t (*fptr_stddval_t) (uint32_t * /* buffer */,
uint32_t /* count */);
typedef void (*fptr_hfsourcesafeswitch_t) (void);