mirror of
https://gitea.osmocom.org/sim-card/simtrace2.git
synced 2026-03-25 09:48:34 +03:00
QMOD: Add code to determine SIM Card presence
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
#include "wwan_led.h"
|
||||
#include "wwan_perst.h"
|
||||
#include "boardver_adc.h"
|
||||
#include "card_pres.h"
|
||||
#include "osmocom/core/timer.h"
|
||||
|
||||
static const Pin pin_hubpwr_override = PIN_PRTPWR_OVERRIDE;
|
||||
@@ -257,4 +258,6 @@ void board_main_top(void)
|
||||
|
||||
/* Obtain the circuit board version (currently just prints voltage */
|
||||
get_board_version_adc();
|
||||
/* Initialize checking for card insert/remove events */
|
||||
card_present_init();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user