You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by ar...@apache.org on 2024/03/21 11:53:11 UTC
(nuttx) branch master updated: include: format alignment
This is an automated email from the ASF dual-hosted git repository.
archer pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new 430247cc99 include: format alignment
430247cc99 is described below
commit 430247cc99a61ba3a26d0873f7c8f3396401d7c7
Author: zhanghongyu <zh...@xiaomi.com>
AuthorDate: Wed Mar 20 14:51:17 2024 +0800
include: format alignment
Align the comments in the include directory
Signed-off-by: zhanghongyu <zh...@xiaomi.com>
---
include/nuttx/lcd/ft80x.h | 22 +++++++++++-----------
include/nuttx/usb/cdc.h | 4 ++--
include/nuttx/video/mipi_dsi.h | 2 +-
include/nuttx/wireless/ioctl.h | 4 ++--
4 files changed, 16 insertions(+), 16 deletions(-)
diff --git a/include/nuttx/lcd/ft80x.h b/include/nuttx/lcd/ft80x.h
index 0ed5f08e9c..0a0c532a60 100644
--- a/include/nuttx/lcd/ft80x.h
+++ b/include/nuttx/lcd/ft80x.h
@@ -295,7 +295,7 @@
#define FT80X_REG_PLAYBACK_PLAY 0x1024bc /* Start audio playback */
#define FT80X_REG_PWM_HZ 0x1024c0 /* BACKLIGHT PWM output frequency (Hz) */
#define FT80X_REG_PWM_DUTY 0x1024c4 /* BACKLIGHT PWM output duty cycle 0=0%,
- * 128=100% */
+ * 128=100% */
#define FT80X_REG_MACRO_0 0x1024c8 /* Display list macro command 0 */
#define FT80X_REG_MACRO_1 0x1024cc /* Display list macro command 1 */
@@ -317,7 +317,7 @@
#if defined(CONFIG_LCD_FT800)
#define FT80X_REG_TOUCH_ADC_MODE 0x1024f4 /* Select single ended (low power) or
- * differential (accurate) sampling */
+ * differential (accurate) sampling */
#define FT80X_REG_TOUCH_CHARGE 0x1024f8 /* Touch-screen charge time, units of 6 clocks */
#define FT80X_REG_TOUCH_SETTLE 0x1024fc /* Touch-screen settle time, units of 6 clocks */
#define FT80X_REG_TOUCH_OVERSAMPLE 0x102500 /* Touch-screen oversample factor */
@@ -326,7 +326,7 @@
#define FT80X_REG_TOUCH_RZ 0x10250c /* Touch-screen resistance */
#define FT80X_REG_TOUCH_SCREEN_XY 0x102510 /* Touch-screen screen (x-MSB16; y-LSB16) */
#define FT80X_REG_TOUCH_TAG_XY 0x102514 /* Touch-screen screen (x-MSB16; y-LSB16)
- * used for tag lookup */
+ * used for tag lookup */
#define FT80X_REG_TOUCH_TAG 0x102518 /* Touch-screen tag result */
#define FT80X_REG_TOUCH_TRANSFORM_A 0x10251c /* Touch-screen transform coefficient (s15.16) */
#define FT80X_REG_TOUCH_TRANSFORM_B 0x102520 /* Touch-screen transform coefficient (s15.16) */
@@ -349,16 +349,16 @@
* Bits [15:8]: configure register value */
/* 0x1024fc - 0x102504 Reserved */
#define FT80X_REG_CTOUCH_RAW_XY 0x102508 /* Compatibility mode: touch-screen raw
- * (x-MSB16; y-LSB16) */
+ * (x-MSB16; y-LSB16) */
#define FT80X_REG_CTOUCH_TOUCH1_XY 0x102508 /* Extended mode: touch-screen screen data for touch 1
- * (x-MSB16; y-LSB16) */
+ * (x-MSB16; y-LSB16) */
#define FT80X_REG_CTOUCH_TOUCH4_Y 0x10250c /* Extended mode: touch-screen screen Y data for touch 4 */
#define FT80X_REG_CTOUCH_SCREEN_XY 0x102510 /* Compatibility mode: touch-screen screen
- * (x-MSB16; y-LSB16) */
+ * (x-MSB16; y-LSB16) */
#define FT80X_REG_CTOUCH_TOUCH0_XY 0x102510 /* Extended mode: touch-screen screen data for touch 0
- * (x-MSB16; y-LSB16) */
+ * (x-MSB16; y-LSB16) */
#define FT80X_REG_CTOUCH_TAG_XY 0x102514 /* Touch-screen screen (x-MSB16; y-LSB16)
- * used for tag lookup */
+ * used for tag lookup */
#define FT80X_REG_CTOUCH_TAG 0x102518 /* Touch-screen tag result */
#define FT80X_REG_CTOUCH_TRANSFORM_A 0x10251c /* Touch-screen transform coefficient (s15.16) */
#define FT80X_REG_CTOUCH_TRANSFORM_B 0x102520 /* Touch-screen transform coefficient (s15.16) */
@@ -589,14 +589,14 @@
/* FT80X_REG_TOUCH_MODE */
#define TOUCH_MODE_OFF 0 /* Acquisition stopped, touch detection
- * interrupt is still valid. */
+ * interrupt is still valid. */
#define TOUCH_MODE_ONESHOT 1 /* Perform acquisition once every write of 1
* to REG_TOUCH_MODE. */
#define TOUCH_MODE_FRAMESYNC 2 /* Perform acquisition for every frame sync
* (~60 data acquisition/second). */
#define TOUCH_MODE_CONTINUOUS 3 /* Perform acquisition continuously at
- * approximately 1000 data acquisition /
- * second. */
+ * approximately 1000 data acquisition /
+ * second. */
/* Interrupts ***************************************************************/
diff --git a/include/nuttx/usb/cdc.h b/include/nuttx/usb/cdc.h
index 429fc056d3..362c3801fe 100644
--- a/include/nuttx/usb/cdc.h
+++ b/include/nuttx/usb/cdc.h
@@ -361,8 +361,8 @@
#define ECMCAP_RVC_OK (1 << 1) /* Frames received without errors */
#define ECMCAP_XMIT_ERROR (1 << 2) /* Frames not transmitted, or transmitted with errors */
#define ECMCAP_RCV_ERROR (1 << 3) /* Frames received with errors that are not delivered
- * to the USB host
- */
+ * to the USB host
+ */
#define ECMCAP_RCV_NO_BUFFER (1 << 4) /* Frame missed, no buffers */
#define ECMCAP_DIR_BYTES_XMIT (1 << 5) /* Directed bytes transmitted without errors */
#define ECMCAP_DIR_FRAMES_XMIT (1 << 6) /* Directed frames transmitted without errors */
diff --git a/include/nuttx/video/mipi_dsi.h b/include/nuttx/video/mipi_dsi.h
index dc7eb4a96c..56f79c8472 100644
--- a/include/nuttx/video/mipi_dsi.h
+++ b/include/nuttx/video/mipi_dsi.h
@@ -50,7 +50,7 @@
#define MIPI_DSI_MSG_REQ_ACK (1 << 0) /* Request ACK from peripheral */
#define MIPI_DSI_MSG_USE_LPM (1 << 1) /* Use Low Power Mode to
- * transmit message */
+ * transmit message */
#define MIPI_DSI_MSG_AFTER_FRAME (1 << 2) /* Transmit message after frame */
/* Tearing Effect Output Line mode */
diff --git a/include/nuttx/wireless/ioctl.h b/include/nuttx/wireless/ioctl.h
index 6ffd84e866..6d1614727b 100644
--- a/include/nuttx/wireless/ioctl.h
+++ b/include/nuttx/wireless/ioctl.h
@@ -51,9 +51,9 @@
#define WLIOC_GETRADIOFREQ _WLCIOC(0x0002) /* arg: Pointer to uint32_t, */
/* frequency value (in MHz) */
#define WLIOC_SETADDR _WLCIOC(0x0003) /* arg: Pointer to address value, format
- * of the address is driver specific */
+ * of the address is driver specific */
#define WLIOC_GETADDR _WLCIOC(0x0004) /* arg: Pointer to address value, format
- * of the address is driver specific */
+ * of the address is driver specific */
#define WLIOC_SETTXPOWER _WLCIOC(0x0005) /* arg: Pointer to int32_t, */
/* output power (in dBm) */
#define WLIOC_GETTXPOWER _WLCIOC(0x0006) /* arg: Pointer to int32_t, */