mirror of
https://gitea.osmocom.org/sim-card/simtrace2.git
synced 2026-11-08 17:55:59 +03:00
[firmware] card_pres: use modem number at start of line
... like most other code modules, too
This commit is contained in:
1 parent
b52b886186
commit
4e837d45db
1 file changed
+1
-1
@@ -35,7 +35,7 @@ static void cardpres_tmr_cb(void *data)
|
||||
for (i = 0; i < ARRAY_SIZE(pin_cardpres); i++) {
|
||||
int state = is_card_present(i);
|
||||
if (state != last_state[i]) {
|
||||
TRACE_INFO("Card Detect %d Status %d -> %d\r\n", i, last_state[i], state);
|
||||
TRACE_INFO("%u: Card Detect Status %d -> %d\r\n", i, last_state[i], state);
|
||||
/* FIXME: report to USB host */
|
||||
last_state[i] = state;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user