mirror of
https://gitea.osmocom.org/sim-card/simtrace2.git
synced 2026-03-23 00:38:33 +03:00
octsimtest: Adjust VCC voltage thresholds (resistive VCC divider)
octsimtest has a resistive voltage divider in front of the VCC ADC in order to also detect 5V. We must make the thresholds board-specific and adjust them for octsimtest. Change-Id: I9e4adb4f349d2d838ea4100eb49271f3a0e7a2a5
This commit is contained in:
@@ -109,6 +109,9 @@
|
||||
#define BOARD_USB_RELEASE 0x010
|
||||
|
||||
#define CARDEMU_SECOND_UART
|
||||
|
||||
#define DETECT_VCC_BY_ADC
|
||||
#define VCC_UV_THRESH_1V8 1500000
|
||||
#define VCC_UV_THRESH_3V 2500000
|
||||
|
||||
#define HAVE_CARDEM
|
||||
|
||||
Reference in New Issue
Block a user