Fix two malformed pre-preprocessor conditionals.
This commit is contained in:
parent
c4f618e590
commit
23727e59aa
@ -75,7 +75,7 @@ void weak_function xmc4_spidev_initialize(void)
|
||||
|
||||
/* Configure SPI2 chip selects */
|
||||
|
||||
#ifdef CONFIG_XMC4_SPI2 && defined(CONFIG_SENSORS_MAX6675)
|
||||
#if define(CONFIG_XMC4_SPI2) && defined(CONFIG_SENSORS_MAX6675)
|
||||
(void)xmc4_gpio_config(GPIO_CS_MAX6675);
|
||||
#endif
|
||||
|
||||
|
@ -49,7 +49,7 @@
|
||||
#include <nuttx/nx/nx.h>
|
||||
#include <nuttx/nx/nxtypes.h>
|
||||
|
||||
#ifndef defined(CONFIG_NX_SWCURSOR) || defined(CONFIG_NX_HWCURSOR)
|
||||
#if defined(CONFIG_NX_SWCURSOR) || defined(CONFIG_NX_HWCURSOR)
|
||||
|
||||
#undef EXTERN
|
||||
#if defined(__cplusplus)
|
||||
|
Loading…
Reference in New Issue
Block a user