summaryrefslogtreecommitdiff
path: root/device-functions.c
diff options
context:
space:
mode:
Diffstat (limited to 'device-functions.c')
-rw-r--r--device-functions.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/device-functions.c b/device-functions.c
index 0fc1ef6..9c3eefe 100644
--- a/device-functions.c
+++ b/device-functions.c
@@ -4034,7 +4034,7 @@ int cal_string(char *parameter, CalStruct *caldata)
{
char string[max_output_length];
- sprintf(string,"CH%d %s cal: %d errors. Adj: %6.2f%% max, %6.2f%% avg.\n\r", caldata->channel+1,parameter, caldata->error, caldata->max_change, caldata->avg_change);
+ sprintf(string,"CH%d %s cal: %d errors. Adj: %6.2f%% max, %6.2f%% avg.\r\n", caldata->channel+1,parameter, caldata->error, caldata->max_change, caldata->avg_change);
strcat (caldata->response, string);
}
@@ -4118,7 +4118,7 @@ int do_full_self_cal(CalStruct *caldata)
globals.Flash.self_cal_typical_time_sec = (int) (diff_timer % 60);
// FIXME - cpp buffer error, do to evil fixed-length strings
- sprintf(string,"Completed in %d minutes and %d seconds\n\r", globals.Flash.self_cal_typical_time_min, globals.Flash.self_cal_typical_time_sec);
+ sprintf(string,"Completed in %d minutes and %d seconds\r\n", globals.Flash.self_cal_typical_time_min, globals.Flash.self_cal_typical_time_sec);
strcat (caldata->response, string);
eprom_loc = (char *) &(globals.Flash.self_cal_typical_time_min) - (char *) &(globals.Flash.flash_start);