mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-10-12 08:20:11 +00:00
apps: fix style issues in code
Add missing FAR and CODE to pointers
Remove FAR for non-pointer variables
Remove extra spaces and align the parameters
Add do {} while(0) wrapper in macro
Use nitems to calculate number of elements in arrays
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
This commit is contained in:
parent
f4d3e549b6
commit
aed0e2873e
35 changed files with 615 additions and 514 deletions
|
|
@ -310,8 +310,8 @@ static void trace_dump_header(FAR FILE *out,
|
|||
);
|
||||
}
|
||||
|
||||
#if (defined CONFIG_SCHED_INSTRUMENTATION_SWITCH) || \
|
||||
(defined CONFIG_SCHED_INSTRUMENTATION_IRQHANDLER)
|
||||
#if (defined CONFIG_SCHED_INSTRUMENTATION_SWITCH) || \
|
||||
(defined CONFIG_SCHED_INSTRUMENTATION_IRQHANDLER)
|
||||
/****************************************************************************
|
||||
* Name: trace_dump_sched_switch
|
||||
****************************************************************************/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue