This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git
commit 6ccf6db2739ecaa4a521189f34fab527feb85454 Author: Alin Jerpelea <alin.jerpe...@sony.com> AuthorDate: Mon Mar 7 14:45:34 2022 +0000 apps: examples: powermonitor: nxstyle fixes fix for errors reported by the nxstyle tool Signed-off-by: Alin Jerpelea <alin.jerpe...@sony.com> --- examples/powermonitor/powermonitor_main.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/examples/powermonitor/powermonitor_main.c b/examples/powermonitor/powermonitor_main.c index 73cdd26..ef9c12b 100644 --- a/examples/powermonitor/powermonitor_main.c +++ b/examples/powermonitor/powermonitor_main.c @@ -1,4 +1,5 @@ /**************************************************************************** + * apps/examples/powermonitor/powermonitor_main.c * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with @@ -17,9 +18,9 @@ * ****************************************************************************/ -/****************************************************************************** +/**************************************************************************** * Included Files - ******************************************************************************/ + ****************************************************************************/ #include <nuttx/config.h> @@ -36,15 +37,15 @@ #include <nuttx/sensors/ltc4151.h> -/****************************************************************************** +/**************************************************************************** * Pre-processor Definitions - ******************************************************************************/ + ****************************************************************************/ #define DECIMAL_PLACES3(x) abs(((int)(((x)-((int)x))*1000))) -/****************************************************************************** +/**************************************************************************** * Public Functions - ******************************************************************************/ + ****************************************************************************/ int main(int argc, char *argv[]) {