Fix the nxstyle warning

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2022-01-16 17:47:34 +08:00 • committed by Petro Karashchenko
parent 9480c0ec12
commit c7e96dbe32
5 changed files with 16 additions and 12 deletions

View file

@ -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.
*/

View file

@ -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

View file

@ -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);