From 0f89df9d672a61298085892a52cc375056f63f8a Mon Sep 17 00:00:00 2001 From: "Michael J. Chudobiak" Date: Tue, 28 Oct 2014 10:24:46 -0400 Subject: static string does not need new variable --- device-functions.c | 6 ++---- 1 file 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*/ -- cgit