Fix typo in pre-processor command noted by Pierre-noel Bouteville. Also move # of pre-processior command to column 1

This commit is contained in:
Gregory Nutt 2015-09-05 09:10:48 -06:00
parent 644f8b921c
commit 9c66bde5b0
12 changed files with 12 additions and 12 deletions

2
arch

@ -1 +1 @@
Subproject commit f228b56a8311067a4ca6e8cd7ca456686f3fdb56
Subproject commit 5ab894e788050d6cbbf87178dc80cdbfcc04bc74

@ -1 +1 @@
Subproject commit 83173e5f4078d563f2b9eee6a730f6720a4a00f5
Subproject commit 5f86fa27a334d105764398a58344ad9c0c6c4462

View File

@ -395,7 +395,7 @@ FAR struct lcd_dev_s *up_oledinitialize(FAR struct spi_dev_s *spi)
#warning "Missing logic"
/* Configure and enable LCD */
#warning "Missing logic"
#warning "Missing logic"
return &g_lcddev.dev;
}

View File

@ -175,7 +175,7 @@
# define SH1101A_MRATIO(d) ((d) & 0x3f)
#define SH1101A_DCDC_MODE (0xad) /* Set DC-DC OFF/ON: (Double Bytes Command) */
# define SH1101A_DCDC_OFF (0x8a)
# define SH1101A_DCDC_ON (0x8b)
# define SH1101A_DCDC_ON (0x8b)
#define SH1101A_DISPOFFON(s) (0xae | ((s) & 0x01)) /* Display OFF/ON: (aeh - afh) */
# define SH1101A_DISPOFF SH1101A_DISPOFFON(0) /* Display off */
# define SH1101A_DISPON SH1101A_DISPOFFON(1) /* Display on */

View File

@ -287,7 +287,7 @@ extern "C"
* no global user heap structure.
*/
#if defined(CONFIG_ARCH_ADDRENV) && defined(CONFIG_BUILD_KERNEL)
#if defined(CONFIG_ARCH_ADDRENV) && defined(CONFIG_BUILD_KERNEL)
/* In the kernel build, there a multiple user heaps; one for each task
* group. In this build configuration, the user heap structure lies
* in a reserved region at the beginning of the .bss/.data address

View File

@ -107,7 +107,7 @@
int fseek(FAR FILE *stream, long int offset, int whence)
{
#if CONFIG_STDIO_BUFFER_SIZE > 0
#if CONFIG_STDIO_BUFFER_SIZE > 0
/* Flush any valid read/write data in the buffer (also verifies stream) */
if (lib_rdflush(stream) < 0 || lib_wrflush(stream) < 0)

View File

@ -54,7 +54,7 @@
* Pre-processor definitions
****************************************************************************/
#ifndef CONFIG_LIBC_TMPDIR
#ifndef CONFIG_LIBC_TMPDIR
# define CONFIG_LIBC_TMPDIR "/tmp"
#endif

View File

@ -386,7 +386,7 @@ int work_usrstart(void)
(void)pthread_attr_init(&attr);
(void)pthread_attr_setstacksize(&attr, CONFIG_LIB_USRWORKSTACKSIZE);
+#ifdef CONFIG_SCHED_SPORADIC
#ifdef CONFIG_SCHED_SPORADIC
/* Get the current sporadic scheduling parameters. Those will not be
* modified.
*/

View File

@ -176,7 +176,7 @@ struct arp_notify_s
* Public Function Prototypes
****************************************************************************/
#ifdef CONFIG_NET_ARP
#ifdef CONFIG_NET_ARP
/****************************************************************************
* Name: arp_reset
*

View File

@ -50,7 +50,7 @@
* Pre-processor definitions
****************************************************************************/
#ifndef MIN
#ifndef MIN
# define MIN(a,b) ((a) < (b) ? (a) : (b))
#endif

View File

@ -116,7 +116,7 @@ tcp_data_event(FAR struct net_driver_s *dev, FAR struct tcp_conn_s *conn,
nllvdbg("Dropped %d bytes\n", dev->d_len);
#ifdef CONFIG_NET_STATISTICS
#ifdef CONFIG_NET_STATISTICS
g_netstats.tcp.syndrop++;
g_netstats.tcp.drop++;
#endif

View File

@ -72,4 +72,4 @@ const uint8_t g_funcnparms[SYS_nsyscalls] =
* Public Functions
****************************************************************************/
#endif /* CONFIG_LIB_SYSCALL */
#endif /* CONFIG_LIB_SYSCALL */