examples/slcd/slcd_main.c: Fix nxstyle issues.
This commit is contained in:
parent
f17d89d085
commit
80428f56e2
@ -61,6 +61,7 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Private Typs
|
* Private Typs
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
/* All state information for this test is kept within the following structure
|
/* All state information for this test is kept within the following structure
|
||||||
* in order create a namespace and to minimize the possibility of name
|
* in order create a namespace and to minimize the possibility of name
|
||||||
* collisions.
|
* collisions.
|
||||||
@ -101,7 +102,8 @@ static const char g_slcdhello[] = "Hello";
|
|||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
void slcd_dumpbuffer(FAR const char *msg, FAR const uint8_t *buffer, unsigned int buflen)
|
void slcd_dumpbuffer(FAR const char *msg, FAR const uint8_t *buffer,
|
||||||
|
unsigned int buflen)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
int j;
|
int j;
|
||||||
@ -154,7 +156,7 @@ void slcd_dumpbuffer(FAR const char *msg, FAR const uint8_t *buffer, unsigned in
|
|||||||
}
|
}
|
||||||
|
|
||||||
printf("\n");
|
printf("\n");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
@ -359,8 +361,9 @@ int main(int argc, FAR char *argv[])
|
|||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
errout_with_fd:
|
errout_with_fd:
|
||||||
close(priv->fd);
|
close(priv->fd);
|
||||||
|
|
||||||
errout:
|
errout:
|
||||||
priv->initialized = false;
|
priv->initialized = false;
|
||||||
exit(EXIT_FAILURE);
|
exit(EXIT_FAILURE);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user