diff loadtools/simup.c @ 793:02490e26f53d

fc-simint: cosmetic enhancements
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 19 Mar 2021 04:55:22 +0000
parents 44e034f21916
children
line wrap: on
line diff
--- a/loadtools/simup.c	Fri Mar 19 04:47:32 2021 +0000
+++ b/loadtools/simup.c	Fri Mar 19 04:55:22 2021 +0000
@@ -48,11 +48,10 @@
 {
 	char *targv[3];
 
+	printf("Bringing up SIM interface at %s V\n",
+		sim_voltage_mode_1v8 ? "1.8" : "3.0");
 	targv[0] = "sim-up";
-	if (sim_voltage_mode_1v8)
-		targv[1] = "1.8";
-	else
-		targv[1] = "3";
+	targv[1] = sim_voltage_mode_1v8 ? "1.8" : "3";
 	targv[2] = 0;
 	tpinterf_make_cmd(targv);
 	if (tpinterf_send_cmd() < 0)