perst/sim_switch: Log events using TRACE_INFO

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

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;
}