Fix the nxstyle warning
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
9480c0ec12
commit
c7e96dbe32
@ -92,8 +92,8 @@
|
|||||||
# define CONFIG_EXAMPLES_NXTERM_BPP 8
|
# define CONFIG_EXAMPLES_NXTERM_BPP 8
|
||||||
# elif !defined(CONFIG_NX_DISABLE_16BPP)
|
# elif !defined(CONFIG_NX_DISABLE_16BPP)
|
||||||
# define CONFIG_EXAMPLES_NXTERM_BPP 16
|
# define CONFIG_EXAMPLES_NXTERM_BPP 16
|
||||||
//#elif !defined(CONFIG_NX_DISABLE_24BPP)
|
# elif !defined(CONFIG_NX_DISABLE_24BPP)
|
||||||
//# define CONFIG_NXTERM_BPP 24
|
# define CONFIG_EXAMPLES_NXTERM_BPP 24
|
||||||
# elif !defined(CONFIG_NX_DISABLE_32BPP)
|
# elif !defined(CONFIG_NX_DISABLE_32BPP)
|
||||||
# define CONFIG_EXAMPLES_NXTERM_BPP 32
|
# define CONFIG_EXAMPLES_NXTERM_BPP 32
|
||||||
# else
|
# else
|
||||||
@ -235,6 +235,7 @@ struct nxterm_state_s
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Public Data
|
* Public Data
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
/* All example global variables are retained in a structure to minimize
|
/* All example global variables are retained in a structure to minimize
|
||||||
* the chance of name collisions.
|
* the chance of name collisions.
|
||||||
*/
|
*/
|
||||||
|
@ -69,8 +69,8 @@
|
|||||||
# define CONFIG_EXAMPLES_NXTEXT_BPP 8
|
# define CONFIG_EXAMPLES_NXTEXT_BPP 8
|
||||||
# elif !defined(CONFIG_NX_DISABLE_16BPP)
|
# elif !defined(CONFIG_NX_DISABLE_16BPP)
|
||||||
# define CONFIG_EXAMPLES_NXTEXT_BPP 16
|
# define CONFIG_EXAMPLES_NXTEXT_BPP 16
|
||||||
//#elif !defined(CONFIG_NX_DISABLE_24BPP)
|
# elif !defined(CONFIG_NX_DISABLE_24BPP)
|
||||||
//# define CONFIG_NXTERM_BPP 24
|
# define CONFIG_EXAMPLES_NXTEXT_BPP 24
|
||||||
# elif !defined(CONFIG_NX_DISABLE_32BPP)
|
# elif !defined(CONFIG_NX_DISABLE_32BPP)
|
||||||
# define CONFIG_EXAMPLES_NXTEXT_BPP 32
|
# define CONFIG_EXAMPLES_NXTEXT_BPP 32
|
||||||
# else
|
# else
|
||||||
|
@ -183,7 +183,8 @@ bool usrsocktest_assert_print_buf(FAR const char *func,
|
|||||||
FAR const void *expect_buf,
|
FAR const void *expect_buf,
|
||||||
size_t buflen);
|
size_t buflen);
|
||||||
|
|
||||||
int usrsocktest_daemon_start(FAR const struct usrsocktest_daemon_conf_s *conf);
|
int usrsocktest_daemon_start(
|
||||||
|
FAR const struct usrsocktest_daemon_conf_s *conf);
|
||||||
|
|
||||||
int usrsocktest_daemon_stop(void);
|
int usrsocktest_daemon_stop(void);
|
||||||
|
|
||||||
|
@ -7,8 +7,8 @@
|
|||||||
*
|
*
|
||||||
* Derived from the file of the same name in the original THTTPD package:
|
* Derived from the file of the same name in the original THTTPD package:
|
||||||
*
|
*
|
||||||
* Copyright (C) 1995,1998,1999,2000,2001 by Jef Poskanzer <jef@mail.acme.com>.
|
* Copyright (C) 1995,1998,1999,2000,2001 by Jef Poskanzer
|
||||||
* All rights reserved.
|
* <jef@mail.acme.com>. All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions
|
* modification, are permitted provided that the following conditions
|
||||||
@ -109,7 +109,9 @@ extern const char html_endhdr2[];
|
|||||||
* Public Function Prototypes
|
* Public Function Prototypes
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
/* Copies and decodes a string. It's ok for from and to to be the same string. */
|
/* Copies and decodes a string.
|
||||||
|
* It's ok for from and to to be the same string.
|
||||||
|
*/
|
||||||
|
|
||||||
void httpd_strdecode(char *to, char *from);
|
void httpd_strdecode(char *to, char *from);
|
||||||
|
|
||||||
|
@ -60,8 +60,8 @@
|
|||||||
* Public Types
|
* Public Types
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
typedef void (*i8sak_eventcallback_t) (FAR struct ieee802154_primitive_s *primitive,
|
typedef void (*i8sak_eventcallback_t)(FAR struct ieee802154_primitive_s *
|
||||||
FAR void *arg);
|
primitive, FAR void *arg);
|
||||||
|
|
||||||
struct i8sak_eventfilter_s
|
struct i8sak_eventfilter_s
|
||||||
{
|
{
|
||||||
@ -148,8 +148,8 @@ int i8sak_eventlistener_stop(FAR struct i8sak_s *i8sak);
|
|||||||
* Name: i8sak_eventlistener_addreceiver
|
* Name: i8sak_eventlistener_addreceiver
|
||||||
*
|
*
|
||||||
* Description:
|
* Description:
|
||||||
* Add an event receiver. An event receiver consists of a callback and flags
|
* Add an event receiver. An event receiver consists of a callback and
|
||||||
* for which events should be sent to the callback.
|
* flags for which events should be sent to the callback.
|
||||||
*
|
*
|
||||||
* Parameters:
|
* Parameters:
|
||||||
* handle - handle to the i8sak instance struct
|
* handle - handle to the i8sak instance struct
|
||||||
|
Loading…
x
Reference in New Issue
Block a user