apps: examples: powermonitor: nxstyle fixes

fix for errors reported by the nxstyle tool

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
This commit is contained in:
Alin Jerpelea 2022-03-07 14:45:34 +00:00 committed by Xiang Xiao
parent c6ed25aa16
commit 6ccf6db273

View File

@ -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[])
{