diff loadtools/romload.c @ 574:aba969153d20

loadtools code: removed provisions for special GTA02 AP build
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 02 Feb 2020 19:37:50 +0000
parents 8c011177adb9
children 4dca8542f569
line wrap: on
line diff
--- a/loadtools/romload.c	Sun Feb 02 19:24:18 2020 +0000
+++ b/loadtools/romload.c	Sun Feb 02 19:37:50 2020 +0000
@@ -26,9 +26,6 @@
 struct srecreader iramimage;
 struct baudrate *romload_baud_rate = baud_rate_table;	/* 1st entry default */
 
-/* global var always defined, but does anything only for GTA0x_AP_BUILD */
-int gta_modem_poweron = 1;
-
 static int beacon_interval = 13;	/* in milliseconds */
 
 static u_char beacon_cmd[2] = {'<', 'i'};
@@ -147,10 +144,6 @@
 send_beacons()
 {
 	printf("Sending beacons to %s\n", target_ttydev);
-#ifdef GTA0x_AP_BUILD
-	if (gta_modem_poweron)
-		fork_gta_modem_poweron();
-#endif
 	do
 		write(target_fd, beacon_cmd, sizeof beacon_cmd);
 	while (expect_response(beacon_interval) != 'i');