perst/sim_switch: Log events using TRACE_INFO

This commit is contained in:
Harald Welte committed 2017-05-11 00:06:00 +02:00
1 parent 44622dfd8d
commit 0709d2d842
2 files changed
+13 -4

No files matched your search

+5 -2
View File
@@ -41,10 +41,13 @@ int sim_switch_use_physical(unsigned int nr, int physical)
return -1;
}
if (physical)
if (physical) {
TRACE_INFO("%u: Use local/physical SIM\r\n", nr);
PIO_Clear(pin);
else
} else {
TRACE_INFO("%u: Use remote/emulated SIM\r\n", nr);
PIO_Set(pin);
}
return 0;
}