mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-10-08 06:35:12 +00:00
Fix the nxstyle warning
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
9480c0ec12
commit
c7e96dbe32
5 changed files with 16 additions and 12 deletions
|
|
@ -92,8 +92,8 @@
|
|||
# define CONFIG_EXAMPLES_NXTERM_BPP 8
|
||||
# elif !defined(CONFIG_NX_DISABLE_16BPP)
|
||||
# define CONFIG_EXAMPLES_NXTERM_BPP 16
|
||||
//#elif !defined(CONFIG_NX_DISABLE_24BPP)
|
||||
//# define CONFIG_NXTERM_BPP 24
|
||||
# elif !defined(CONFIG_NX_DISABLE_24BPP)
|
||||
# define CONFIG_EXAMPLES_NXTERM_BPP 24
|
||||
# elif !defined(CONFIG_NX_DISABLE_32BPP)
|
||||
# define CONFIG_EXAMPLES_NXTERM_BPP 32
|
||||
# else
|
||||
|
|
@ -235,6 +235,7 @@ struct nxterm_state_s
|
|||
/****************************************************************************
|
||||
* Public Data
|
||||
****************************************************************************/
|
||||
|
||||
/* All example global variables are retained in a structure to minimize
|
||||
* the chance of name collisions.
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -69,8 +69,8 @@
|
|||
# define CONFIG_EXAMPLES_NXTEXT_BPP 8
|
||||
# elif !defined(CONFIG_NX_DISABLE_16BPP)
|
||||
# define CONFIG_EXAMPLES_NXTEXT_BPP 16
|
||||
//#elif !defined(CONFIG_NX_DISABLE_24BPP)
|
||||
//# define CONFIG_NXTERM_BPP 24
|
||||
# elif !defined(CONFIG_NX_DISABLE_24BPP)
|
||||
# define CONFIG_EXAMPLES_NXTEXT_BPP 24
|
||||
# elif !defined(CONFIG_NX_DISABLE_32BPP)
|
||||
# define CONFIG_EXAMPLES_NXTEXT_BPP 32
|
||||
# else
|
||||
|
|
|
|||
|
|
@ -183,7 +183,8 @@ bool usrsocktest_assert_print_buf(FAR const char *func,
|
|||
FAR const void *expect_buf,
|
||||
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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue