FreeCalypso > hg > freecalypso-tools
diff loadtools/ltexit.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 | 96332d875fc9 |
children |
line wrap: on
line diff
--- a/loadtools/ltexit.c Sun Feb 02 19:24:18 2020 +0000 +++ b/loadtools/ltexit.c Sun Feb 02 19:37:50 2020 +0000 @@ -15,15 +15,6 @@ } static void -exit_gta02_cutpwr(rc) -{ -#ifdef GTA0x_AP_BUILD - set_gta_modem_power_ctrl(0); -#endif - exit(rc); -} - -static void exit_iotaoff(rc) { static char *poweroff_argv[2] = {"poweroff", 0}; @@ -50,9 +41,10 @@ void (*func)(); } exit_modes[] = { {"bare", exit_bare}, - {"gta02-cutpwr", exit_gta02_cutpwr}, {"iota-off", exit_iotaoff}, {"jump0", exit_jump0}, + /* backward compat with old gta02.config */ + {"gta02-cutpwr", exit_iotaoff}, {0, 0} };