mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 16:50:55 +08:00
Remove exra whitespace from files (#189)
* Remove multiple newlines at the end of files * Remove the whitespace from the end of lines
This commit is contained in:
@@ -11,4 +11,3 @@
|
||||
/machine
|
||||
/openamp
|
||||
/metal
|
||||
|
||||
|
||||
@@ -342,4 +342,3 @@ int binfmt_exit(FAR struct binary_s *bin);
|
||||
#endif
|
||||
|
||||
#endif /* __INCLUDE_NUTTX_BINFMT_BINFMT_H */
|
||||
|
||||
|
||||
@@ -450,4 +450,3 @@ extern "C"
|
||||
#endif
|
||||
|
||||
#endif /* __INCLUDE_NUTTX_BINFMT_IEEE695_H */
|
||||
|
||||
|
||||
@@ -74,4 +74,3 @@ void tea_encrypt(FAR uint32_t *value, FAR const uint32_t *key);
|
||||
void tea_decrypt(FAR uint32_t *value, FAR const uint32_t *key);
|
||||
|
||||
#endif /* __INCLUDE_NUTTX_CRYPTO_TEA_H */
|
||||
|
||||
|
||||
@@ -111,4 +111,3 @@ int ee25xx_initialize(FAR struct spi_dev_s *dev, FAR char *devname,
|
||||
int devtype, int readonly);
|
||||
|
||||
#endif /* __INCLUDE__NUTTX_EEPROM_M25XX_H */
|
||||
|
||||
|
||||
@@ -332,4 +332,3 @@ extern "C"
|
||||
#endif
|
||||
|
||||
#endif /* __INCLUDE_NUTTX_FS_DIRENT_H */
|
||||
|
||||
|
||||
@@ -221,4 +221,3 @@ int btn_lower_initialize(FAR const char *devname);
|
||||
#endif
|
||||
|
||||
#endif /* __INCLUDE_NUTTX_INPUT_BUTTONS_H */
|
||||
|
||||
|
||||
@@ -73,4 +73,3 @@
|
||||
#define _NUNCHUCKIOC(nr) _IOC(_NUNCKIOCBASE,nr)
|
||||
|
||||
#endif /* __INCLUDE_NUTTX_INPUT_IOCTL_H */
|
||||
|
||||
|
||||
@@ -344,4 +344,3 @@ int kbd_decode(FAR struct lib_instream_s *stream,
|
||||
|
||||
#endif /* CONFIG_LIB_KBDCODEC */
|
||||
#endif /* __INCLUDE_NUTTX_INPUT_KBD_CODEC_H */
|
||||
|
||||
|
||||
@@ -85,4 +85,3 @@ enum
|
||||
#endif
|
||||
|
||||
#endif /* __INCLUDE_NUTTX_INPUT_XBOX_CONTROLLER_H */
|
||||
|
||||
|
||||
@@ -205,4 +205,3 @@ enum slcdret_e slcd_decode(FAR struct lib_instream_s *stream,
|
||||
|
||||
#endif /* CONFIG_LIB_SLCDCODEC */
|
||||
#endif /* __INCLUDE_NUTTX_LCD_SLCD_CODEC_H */
|
||||
|
||||
|
||||
@@ -139,4 +139,3 @@ extern "C"
|
||||
#endif
|
||||
|
||||
#endif /* __INCLUDE_NUTTX_LCD_SLCD_IOCTL_H */
|
||||
|
||||
|
||||
@@ -603,4 +603,3 @@ FAR struct iob_userstats_s * iob_getuserstats(enum iob_user_e userid);
|
||||
|
||||
#endif /* CONFIG_MM_IOB */
|
||||
#endif /* _INCLUDE_NUTTX_MM_IOB_H */
|
||||
|
||||
|
||||
@@ -407,4 +407,3 @@ int nxmq_desclose_group(mqd_t mqdes, FAR struct task_group_s *group);
|
||||
|
||||
#endif /* CONFIG_MQ_MAXMSGSIZE > 0 */
|
||||
#endif /* ___INCLUDE_NUTTX_MQUEUE_H */
|
||||
|
||||
|
||||
@@ -253,4 +253,3 @@ int dns_unregister_notify(dns_callback_t callback, FAR void *arg);
|
||||
#endif
|
||||
|
||||
#endif /* __INCLUDE_NUTTX_NET_DNS_H */
|
||||
|
||||
|
||||
@@ -1569,4 +1569,3 @@ int netdev_unregister(FAR struct net_driver_s *dev);
|
||||
|
||||
#endif /* CONFIG_NET */
|
||||
#endif /* __INCLUDE_NUTTX_NET_NET_H */
|
||||
|
||||
|
||||
@@ -1069,4 +1069,3 @@ int nx_constructwindow(NXHANDLE handle, NXWINDOW hwnd, uint8_t flags,
|
||||
#endif
|
||||
|
||||
#endif /* _INCLUDE_NUTTX_NX_NX_H */
|
||||
|
||||
|
||||
@@ -213,4 +213,3 @@ int nxcursor_get_position(NXHANDLE hnd, FAR struct nxgl_point_s *pos);
|
||||
|
||||
#endif /* CONFIG_NX_SWCURSOR || CONFIG_NX_HWCURSOR */
|
||||
#endif /* __INCLUDE_NUTTX_NX_NXCURSOR_H */
|
||||
|
||||
|
||||
@@ -308,4 +308,3 @@ int rptun_boot(FAR const char *cpuname);
|
||||
|
||||
#endif /* CONFIG_RPTUN */
|
||||
#endif /* __INCLUDE_NUTTX_RPTUN_RPTUN_H */
|
||||
|
||||
|
||||
@@ -68,7 +68,7 @@ struct dhtxx_config_s
|
||||
|
||||
enum dhtxx_status_e
|
||||
{
|
||||
/* Timeout accured waiting for data. */
|
||||
/* Timeout accured waiting for data. */
|
||||
|
||||
DHTXX_TIMEOUT,
|
||||
|
||||
|
||||
@@ -185,4 +185,3 @@ int mlx90614_register(FAR const char *devpath, FAR struct i2c_master_s *i2c,
|
||||
#endif /* CONFIG_I2C && CONFIG_SENSORS_MLX90614 */
|
||||
|
||||
#endif /* __INCLUDE_NUTTX_SENSORS_MLX90614_H */
|
||||
|
||||
|
||||
@@ -156,4 +156,3 @@ void symtab_sortbyname(FAR struct symtab_s *symtab, int nsyms);
|
||||
#endif
|
||||
|
||||
#endif /* __INCLUDE_NUTTX_SYMTAB_H */
|
||||
|
||||
|
||||
@@ -71,4 +71,3 @@ int syslog_rpmsg_server_init(void);
|
||||
#endif
|
||||
|
||||
#endif /* __INCLUDE_NUTTX_SYSLOG_SYSLOG_RPMSG_H */
|
||||
|
||||
|
||||
@@ -81,7 +81,7 @@ extern "C"
|
||||
****************************************************************************/
|
||||
|
||||
struct composite_devdesc_s;
|
||||
|
||||
|
||||
/****************************************************************************
|
||||
* Public Functions
|
||||
****************************************************************************/
|
||||
|
||||
@@ -70,9 +70,9 @@ extern "C"
|
||||
* None
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
|
||||
void usbdev_dfu_get_composite_devdesc(struct composite_devdesc_s *dev);
|
||||
|
||||
|
||||
/****************************************************************************
|
||||
* Name: usbdev_dfu_activate_bootloader
|
||||
*
|
||||
@@ -91,4 +91,3 @@ void usbdev_dfu_activate_bootloader();
|
||||
#endif
|
||||
|
||||
#endif /* __INCLUDE_NUTTX_USB_DFU_H */
|
||||
|
||||
|
||||
@@ -440,7 +440,7 @@ struct usb_iaddesc_s
|
||||
* USB_REQ_GETMSFTOSDESCRIPTOR.
|
||||
* More details: https://msdn.microsoft.com/en-us/windows/hardware/gg463179
|
||||
* And excellent explanation: https://github.com/pbatard/libwdi/wiki/WCID-Devices
|
||||
*
|
||||
*
|
||||
* The device will have exactly one "Extended Compat ID Feature Descriptor",
|
||||
* which may contain multiple "Function Descriptors" associated with different
|
||||
* interfaces.
|
||||
@@ -468,7 +468,7 @@ struct usb_msft_os_feature_desc_s
|
||||
/* Microsoft OS extended property descriptor.
|
||||
* This can be used to set specific registry values, such as interface GUID for
|
||||
* a device. It is requested per-interface by special request USB_REQ_GETMSFTOSDESCRIPTOR.
|
||||
*
|
||||
*
|
||||
* The interface will have one extended properties descriptor, which may contain
|
||||
* multiple properties inside it.
|
||||
*/
|
||||
@@ -479,7 +479,7 @@ struct usb_msft_os_extprop_hdr_s
|
||||
uint8_t version[2]; /* Descriptor syntax version, 0x0100 */
|
||||
uint8_t index[2]; /* Set to 5 for "extended property descriptors" */
|
||||
uint8_t count[2]; /* Number of property sections */
|
||||
|
||||
|
||||
/* The properties are appended after the header and follow this format:
|
||||
* uint8_t prop_len[4];
|
||||
* uint8_t data_type[4];
|
||||
@@ -499,4 +499,3 @@ struct usb_msft_os_extprop_hdr_s
|
||||
************************************************************************************/
|
||||
|
||||
#endif /* __INCLUDE_NUTTX_USB_USB_H */
|
||||
|
||||
|
||||
@@ -238,7 +238,7 @@ struct composite_devdesc_s
|
||||
uint8_t msft_compatible_id[8];
|
||||
uint8_t msft_sub_id[8];
|
||||
#endif
|
||||
|
||||
|
||||
struct usbdev_devinfo_s devinfo;
|
||||
};
|
||||
#endif
|
||||
|
||||
@@ -63,7 +63,7 @@
|
||||
|
||||
#define EDID_HEADER_MAGIC_OFFSET 0 /* Fixed header pattern: 00 FF FF FF FF FF FF 00 */
|
||||
#define EDID_HEADER_MAGIC_SIZE 8
|
||||
|
||||
|
||||
/* Bytes 8-17: Vendor Information */
|
||||
|
||||
#define EDID_VENDOR_MANUFACTURER_OFFSET 8 /* Encoded 3-character manufacture ID */
|
||||
|
||||
@@ -191,7 +191,7 @@ extern "C"
|
||||
|
||||
/* RGB565 */
|
||||
|
||||
#define V4L2_PIX_FMT_RGB565 v4l2_fourcc('R', 'G', 'B', 'P')
|
||||
#define V4L2_PIX_FMT_RGB565 v4l2_fourcc('R', 'G', 'B', 'P')
|
||||
|
||||
/* JFIF JPEG */
|
||||
|
||||
|
||||
@@ -311,4 +311,3 @@ int sx127x_register(FAR struct spi_dev_s *spi,
|
||||
FAR const struct sx127x_lower_s *lower);
|
||||
|
||||
#endif /* __INCLUDE_NUTTX_SX127X_H */
|
||||
|
||||
|
||||
@@ -636,4 +636,3 @@ EXTERN const uint8_t g_funcnparms[SYS_nsyscalls];
|
||||
#endif /* __ASSEMBLY__ */
|
||||
#endif /* CONFIG_LIB_SYSCALL */
|
||||
#endif /* __INCLUDE_SYS_SYSCALL_H */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user