File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 37
37
/****************************************************************************
38
38
* Pre-processor Definitions
39
39
****************************************************************************/
40
+
40
41
/* Configuration ************************************************************/
41
42
42
43
#ifndef CONFIG_EXAMPLES_BATTERY_DEVNAME
@@ -69,7 +70,8 @@ void status_report(int status)
69
70
70
71
case BATTERY_IDLE :
71
72
{
72
- printf ("Battery is idle, not full, not charging, not discharging!\n" );
73
+ printf ("Battery is idle, not full, not charging, "
74
+ "not discharging!\n" );
73
75
}
74
76
break ;
75
77
@@ -194,15 +196,17 @@ int main(int argc, FAR char *argv[])
194
196
}
195
197
196
198
printf ("Going to read battery info, updated each two seconds.\n" );
197
- printf ("Try to remove the board power supply, etc, to change its status.\n" );
199
+ printf ("Try to remove the board power supply, etc, "
200
+ "to change its status.\n" );
198
201
199
202
/* Wait the user read the information message above */
200
203
201
204
sleep (5 );
202
205
203
206
for (i = 0 ; i < 10 ; i ++ )
204
207
{
205
- printf ("\n-----------------------------------------------------------\n" );
208
+ printf ("\n----------------------------"
209
+ "-------------------------------\n" );
206
210
207
211
/* Read battery status */
208
212
You can’t perform that action at this time.
0 commit comments