Skip to content

Fix private types banners according to coding standard #3086

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
May 28, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/foc/foc_fixed16_thr.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
#endif

/****************************************************************************
* Private Type Definition
* Private Types
****************************************************************************/

/****************************************************************************
Expand Down
2 changes: 1 addition & 1 deletion examples/foc/foc_float_thr.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
#endif

/****************************************************************************
* Private Type Definition
* Private Types
****************************************************************************/

/****************************************************************************
Expand Down
2 changes: 1 addition & 1 deletion examples/foc/foc_intf.c
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
#endif

/****************************************************************************
* Private Type Definition
* Private Types
****************************************************************************/

#ifdef CONFIG_EXAMPLES_FOC_HAVE_BUTTON
Expand Down
2 changes: 1 addition & 1 deletion examples/foc/foc_motor_b16.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
#define FOC_FLOAT_IDENT_IND_MAX ftob16(2.0f)

/****************************************************************************
* Private Type Definition
* Private Types
****************************************************************************/

/****************************************************************************
Expand Down
2 changes: 1 addition & 1 deletion examples/foc/foc_motor_f32.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
#define FOC_FLOAT_IDENT_IND_MAX (2.0f)

/****************************************************************************
* Private Type Definition
* Private Types
****************************************************************************/

/****************************************************************************
Expand Down
2 changes: 1 addition & 1 deletion examples/ipforward/ipforward.c
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
#endif

/****************************************************************************
* Name: Private Types
* Private Types
****************************************************************************/

struct ipfwd_tun_s
Expand Down
2 changes: 1 addition & 1 deletion examples/lvgldemo/lvgldemo.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
#endif

/****************************************************************************
* Private Type Declarations
* Private Types
****************************************************************************/

/****************************************************************************
Expand Down
2 changes: 1 addition & 1 deletion examples/nxscope/nxscope_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
#define SIN_DT (0.01f)

/****************************************************************************
* Private Type Definition
* Private Types
****************************************************************************/

struct nxscope_thr_env_s
Expand Down
2 changes: 1 addition & 1 deletion examples/powerled/powerled_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
#define DEMO_FLASH_BRIGHTNESS_SET 100.0

/****************************************************************************
* Private Type Definition
* Private Types
****************************************************************************/

/* Example modes */
Expand Down
2 changes: 1 addition & 1 deletion examples/smps/smps_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
#endif

/****************************************************************************
* Private Type Definition
* Private Types
****************************************************************************/

/* Application arguments */
Expand Down
2 changes: 1 addition & 1 deletion logging/nxscope/nxscope_idummy.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
#include <logging/nxscope/nxscope.h>

/****************************************************************************
* Private Type Definition
* Private Types
****************************************************************************/

struct nxscope_intf_dummy_s
Expand Down
2 changes: 1 addition & 1 deletion logging/nxscope/nxscope_iser.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
#include <logging/nxscope/nxscope.h>

/****************************************************************************
* Private Type Definition
* Private Types
****************************************************************************/

struct nxscope_intf_ser_s
Expand Down
2 changes: 1 addition & 1 deletion logging/nxscope/nxscope_pser.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
#define NXSCOPE_CRC_LEN (sizeof(uint16_t))

/****************************************************************************
* Private Type Definition
* Private Types
****************************************************************************/

/* Nxscope serial protocol frame:
Expand Down
2 changes: 1 addition & 1 deletion modbus/ascii/mbascii.c
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
#define MB_SER_PDU_PDU_OFF 1 /* Offset of Modbus-PDU in Ser-PDU. */

/****************************************************************************
* Private Type Definitions
* Private Typess
****************************************************************************/

typedef enum
Expand All @@ -69,7 +69,7 @@
STATE_RX_IDLE, /* Receiver is in idle state. */
STATE_RX_RCV, /* Frame is being received. */
STATE_RX_WAIT_EOF /* Wait for End of Frame. */
} eMBRcvState;

Check failure on line 72 in modbus/ascii/mbascii.c

View workflow job for this annotation

GitHub Actions / check

Mixed case identifier found

typedef enum
{
Expand All @@ -78,21 +78,21 @@
STATE_TX_DATA, /* Sending of data (Address, Data, LRC). */
STATE_TX_END, /* End of transmission. */
STATE_TX_NOTIFY /* Notify sender that the frame has been sent. */
} eMBSndState;

Check failure on line 81 in modbus/ascii/mbascii.c

View workflow job for this annotation

GitHub Actions / check

Mixed case identifier found

typedef enum
{
BYTE_HIGH_NIBBLE, /* Character for high nibble of byte. */
BYTE_LOW_NIBBLE /* Character for low nibble of byte. */
} eMBBytePos;

Check failure on line 87 in modbus/ascii/mbascii.c

View workflow job for this annotation

GitHub Actions / check

Mixed case identifier found

/****************************************************************************
* Private Function Prototypes
****************************************************************************/

static uint8_t prvucMBint8_t2BIN(uint8_t ucCharacter);

Check failure on line 93 in modbus/ascii/mbascii.c

View workflow job for this annotation

GitHub Actions / check

Mixed case identifier found

Check failure on line 93 in modbus/ascii/mbascii.c

View workflow job for this annotation

GitHub Actions / check

Mixed case identifier found
static uint8_t prvucMBBIN2int8_t(uint8_t ucByte);

Check failure on line 94 in modbus/ascii/mbascii.c

View workflow job for this annotation

GitHub Actions / check

Mixed case identifier found

Check failure on line 94 in modbus/ascii/mbascii.c

View workflow job for this annotation

GitHub Actions / check

Mixed case identifier found
static uint8_t prvucMBLRC(uint8_t *pucFrame, uint16_t usLen);

Check failure on line 95 in modbus/ascii/mbascii.c

View workflow job for this annotation

GitHub Actions / check

Mixed case identifier found

Check failure on line 95 in modbus/ascii/mbascii.c

View workflow job for this annotation

GitHub Actions / check

Mixed case identifier found

Check failure on line 95 in modbus/ascii/mbascii.c

View workflow job for this annotation

GitHub Actions / check

Mixed case identifier found

/****************************************************************************
* Private Data
Expand Down
2 changes: 1 addition & 1 deletion modbus/rtu/mbrtu.c
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
#define MB_SER_PDU_PDU_OFF 1 /* Offset of Modbus-PDU in Ser-PDU. */

/****************************************************************************
* Private Type Definitions
* Private Typess
****************************************************************************/

typedef enum
Expand Down
2 changes: 1 addition & 1 deletion modbus/rtu/mbrtu_m.c
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
#define MB_SER_PDU_PDU_OFF 1 /* Offset of Modbus-PDU in Ser-PDU. */

/****************************************************************************
* Private Type Definitions
* Private Typess
****************************************************************************/

typedef enum
Expand Down
2 changes: 1 addition & 1 deletion system/monkey/monkey_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@
} while (0)

/****************************************************************************
* Private Type Declarations
* Private Types
****************************************************************************/

struct monkey_param_s
Expand Down
2 changes: 1 addition & 1 deletion system/monkey/monkey_utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
#include "monkey_utils.h"

/****************************************************************************
* Private Type Declarations
* Private Types
****************************************************************************/

struct monkey_port_dev_type_name_s
Expand Down
2 changes: 1 addition & 1 deletion system/nxcamera/nxcamera_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
#endif

/****************************************************************************
* Private Type Declarations
* Private Types
****************************************************************************/

typedef CODE int (*nxcamera_func)(FAR struct nxcamera_s *cam, FAR char *arg);
Expand Down
2 changes: 1 addition & 1 deletion system/nxlooper/nxlooper_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
#endif

/****************************************************************************
* Private Type Declarations
* Private Types
****************************************************************************/

typedef int (*nxlooper_func)(FAR struct nxlooper_s *plooper, char *pargs);
Expand Down
2 changes: 1 addition & 1 deletion system/nxplayer/nxplayer.c
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
#endif

/****************************************************************************
* Private Type Declarations
* Private Types
****************************************************************************/

#ifdef CONFIG_NXPLAYER_FMT_FROM_EXT
Expand Down
2 changes: 1 addition & 1 deletion system/nxplayer/nxplayer_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
#endif

/****************************************************************************
* Private Type Declarations
* Private Types
****************************************************************************/

struct mp_cmd_s
Expand Down
2 changes: 1 addition & 1 deletion system/nxplayer/nxplayer_mp3.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
#define ID3V2_BIT_MASK 0x7F

/****************************************************************************
* Private Type Declarations
* Private Types
****************************************************************************/

const static uint16_t g_mpa_freq_tab[3] =
Expand Down
2 changes: 1 addition & 1 deletion system/nxplayer/nxplayer_sbc.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
#define SBC_FRAME_HEADER_SIZE 32

/****************************************************************************
* Private Type Declarations
* Private Types
****************************************************************************/

/****************************************************************************
Expand Down
2 changes: 1 addition & 1 deletion system/nxrecorder/nxrecorder.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
#endif

/****************************************************************************
* Private Type Declarations
* Private Types
****************************************************************************/

#ifdef CONFIG_NXRECORDER_FMT_FROM_EXT
Expand Down
2 changes: 1 addition & 1 deletion system/nxrecorder/nxrecorder_amr.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
#include "system/nxrecorder.h"

/****************************************************************************
* Private Type Declarations
* Private Types
****************************************************************************/

static const uint8_t AMR_NB[6] = "#!AMR\n";
Expand Down
2 changes: 1 addition & 1 deletion system/nxrecorder/nxrecorder_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
#endif

/****************************************************************************
* Private Type Declarations
* Private Types
****************************************************************************/

struct mp_cmd_s
Expand Down
2 changes: 1 addition & 1 deletion system/ofloader/ofloader.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
#include "ofloader.h"

/****************************************************************************
* Private Type Definitions
* Private Typess
****************************************************************************/

struct devinfo_s
Expand Down
2 changes: 1 addition & 1 deletion system/ofloader/segger.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
#define ALGO_VERSION 0x101 /* Algo version, must not be modified. */

/****************************************************************************
* Private Type Definitions
* Private Typess
****************************************************************************/

struct SECTOR_INFO
Expand Down
2 changes: 1 addition & 1 deletion system/readline/readline_fd.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
#include "readline.h"

/****************************************************************************
* Private Type Declarations
* Private Types
****************************************************************************/

struct readline_s
Expand Down
2 changes: 1 addition & 1 deletion system/resmonitor/showinfo.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
#define FILELEN 100

/****************************************************************************
* Private Type Declarations
* Private Types
****************************************************************************/

struct t_info
Expand Down
2 changes: 1 addition & 1 deletion system/sensorscope/sensorscope_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
#define SENSOR_CHNAME_MAX 16

/****************************************************************************
* Private Type Definition
* Private Types
****************************************************************************/

struct nxsensor_info_s
Expand Down
2 changes: 1 addition & 1 deletion system/ymodem/sb_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
#include "ymodem.h"

/****************************************************************************
* Private Type Definitions
* Private Typess
****************************************************************************/

struct ymodem_priv_s
Expand Down
2 changes: 1 addition & 1 deletion testing/drivers/drivertest/drivertest_i2c_spi.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
#define READ_TIMES 100

/****************************************************************************
* Private Type Declarations
* Private Types
****************************************************************************/

struct test_state_s
Expand Down
2 changes: 1 addition & 1 deletion testing/drivers/drivertest/drivertest_uart.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
#endif

/****************************************************************************
* Private Type Declarations
* Private Types
****************************************************************************/

struct test_confs_s
Expand Down
Loading