mirror of
https://gitea.osmocom.org/sim-card/simtrace2.git
synced 2026-03-16 21:28:33 +03:00
[firmware] card_pres: use modem number at start of line
... like most other code modules, too
This commit is contained in:
@@ -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