mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-10-04 04:38:15 +00:00
style: Fix coding style violations in nuttx-apps
Fix various coding style issues including: - Case statement formatting - Include placement and ordering - Whitespace issues - Long line formatting - Bracket alignment Affected modules: - audioutils, examples, include - netutils, system Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
This commit is contained in:
parent
63f61d080a
commit
4e8a0ae4c4
15 changed files with 64 additions and 38 deletions
|
|
@ -68,9 +68,9 @@ bool netlib_ipv4addrconv(FAR const char *addrstr, FAR uint8_t *ipaddr)
|
|||
{
|
||||
ch = *addrstr++;
|
||||
if (++j > 4)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
if (ch == '.' || ch == 0)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue