From b370f778516cce1689de12cd4e295db72e9b9b6a Mon Sep 17 00:00:00 2001 From: simbit18 <101105604+simbit18@users.noreply.github.com> Date: Fri, 3 Mar 2023 16:47:53 +0100 Subject: [PATCH] Update batt_main.c --- examples/battery/batt_main.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/examples/battery/batt_main.c b/examples/battery/batt_main.c index 5f18522e5..fc427671a 100644 --- a/examples/battery/batt_main.c +++ b/examples/battery/batt_main.c @@ -37,6 +37,7 @@ /**************************************************************************** * Pre-processor Definitions ****************************************************************************/ + /* Configuration ************************************************************/ #ifndef CONFIG_EXAMPLES_BATTERY_DEVNAME @@ -69,7 +70,8 @@ void status_report(int status) case BATTERY_IDLE: { - printf("Battery is idle, not full, not charging, not discharging!\n"); + printf("Battery is idle, not full, not charging, " + "not discharging!\n"); } break; @@ -194,7 +196,8 @@ int main(int argc, FAR char *argv[]) } printf("Going to read battery info, updated each two seconds.\n"); - printf("Try to remove the board power supply, etc, to change its status.\n"); + printf("Try to remove the board power supply, etc, " + "to change its status.\n"); /* Wait the user read the information message above */ @@ -202,7 +205,8 @@ int main(int argc, FAR char *argv[]) for (i = 0; i < 10; i++) { - printf("\n-----------------------------------------------------------\n"); + printf("\n----------------------------" + "-------------------------------\n"); /* Read battery status */