summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--device-functions.c4
-rw-r--r--instr-client.c2
2 files changed, 3 insertions, 3 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);
diff --git a/instr-client.c b/instr-client.c
index 4d380d1..990abc2 100644
--- a/instr-client.c
+++ b/instr-client.c
@@ -175,7 +175,7 @@ int main(int argc, char** argv)
g_object_unref(client);
return -1;
}
- g_printf("\nWelcome to InstrumentShell v%s\n\n",FW_VERSION);
+ g_printf("\r\nWelcome! Avtech Electrosystems Ltd. - Firmware v%s\r\n\r\n",FW_VERSION);
g_print("> ");
//register Pollable sources