summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael J. Chudobiak <mjc@avtechpulse.com>2014-10-28 10:24:46 -0400
committerMichael J. Chudobiak <mjc@avtechpulse.com>2014-10-28 10:24:46 -0400
commit0f89df9d672a61298085892a52cc375056f63f8a (patch)
tree9b3b3225dc3c4491d120b3c8c407a9be29dc8781
parent8c36c3b8b912b9f10361347e801e5be2c7037e8a (diff)
static string does not need new variable
-rw-r--r--device-functions.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/device-functions.c b/device-functions.c
index c122542..bac45da 100644
--- a/device-functions.c
+++ b/device-functions.c
@@ -3836,10 +3836,8 @@ int do_full_self_cal(CalStruct *caldata)
string = g_strdup_printf ("Typical run time: %d min, %d sec.", globals.Flash.self_cal_typical_time_min, globals.Flash.self_cal_typical_time_sec);
LCD_write(1,0,string);
g_free (string);
- /*0123456789012345678901234567890123456789*/
- string = g_strdup_printf ("To skip, power off 60sec, then power on.");
- LCD_write(1,0,string);
- g_free (string);
+ /*0123456789012345678901234567890123456789*/
+ LCD_write(2,0,"To skip, power off 60sec, then power on.");
while ((sec_timer() - globals.Timers.startup_timer_value) < (long)globals.Flash.self_cal_pause) {
/*0123456789012345678901234567890123456789*/