wwan_perst: Support varying timeout and permanent active/inactive

This commit is contained in:
Harald Welte committed 2017-05-09 13:24:28 +02:00
1 parent 25a9a80ff5
commit cb093ce878
3 files changed
+51 -29

No files matched your search

+2 -2
View File
@@ -211,11 +211,11 @@ void board_exec_dbg_cmd(int ch)
break;
case '1':
printf("Resetting Modem 1 (of this SAM3)\n\r");
wwan_perst_do_reset(1);
wwan_perst_do_reset_pulse(1, 300);
break;
case '2':
printf("Resetting Modem 2 (of this SAM3)\n\r");
wwan_perst_do_reset(2);
wwan_perst_do_reset_pulse(2, 300);
break;
case '!':
qmod_use_physical_sim(1, 0);