boards: nxstyle fixes

nxstyle fixes to pass CI.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
This commit is contained in:
Alin Jerpelea
2021-03-19 15:11:22 +01:00
committed by Xiang Xiao
parent a255a2794b
commit aa66d91604
4 changed files with 12 additions and 4 deletions
+4 -1
View File
@@ -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 */
+5 -1
View File
@@ -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);