mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 17:33:08 +08:00
boards: nxstyle fixes
nxstyle fixes to pass CI. Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
This commit is contained in:
committed by
Xiang Xiao
parent
a255a2794b
commit
aa66d91604
@@ -74,7 +74,10 @@ static uint8_t g_channel = 0; /* Current g_channel */
|
||||
|
||||
/* Channel assigned to each sensor */
|
||||
|
||||
static uint8_t const g_chsensor[NSENSORS] = { 9, 10 };
|
||||
static uint8_t const g_chsensor[NSENSORS] =
|
||||
{
|
||||
9, 10
|
||||
};
|
||||
|
||||
/* Character driver operations */
|
||||
|
||||
|
||||
@@ -74,7 +74,11 @@ static uint8_t g_channel = 0; /* Current g_channel */
|
||||
|
||||
/* Channel assigned to each sensor */
|
||||
|
||||
static uint8_t const g_chsensor[NSENSORS] = { 9, 10 };
|
||||
static uint8_t const g_chsensor[NSENSORS] =
|
||||
{
|
||||
9,
|
||||
10
|
||||
};
|
||||
|
||||
/* Character driver operations */
|
||||
|
||||
|
||||
@@ -63,7 +63,8 @@
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
int lpc43_max31855initialize(FAR const char *devpath, int bus, uint16_t devid)
|
||||
int lpc43_max31855initialize(FAR const char *devpath, int bus,
|
||||
uint16_t devid)
|
||||
{
|
||||
FAR struct spi_dev_s *spi;
|
||||
spi = lpc43_sspbus_initialize(bus);
|
||||
|
||||
@@ -144,7 +144,7 @@ static int mcp2515_attach(FAR struct mcp2515_config_s *state,
|
||||
priv->handler = handler;
|
||||
priv->arg = arg;
|
||||
|
||||
/* Configure the interrupt for falling edge*/
|
||||
/* Configure the interrupt for falling edge */
|
||||
|
||||
stm32_gpiosetevent(GPIO_MCP2515_IRQ, false, true, false,
|
||||
mcp2515_interrupt, priv);
|
||||
|
||||
Reference in New Issue
Block a user