summaryrefslogtreecommitdiff
path: root/include/fpsensor_state.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/fpsensor_state.h')
-rw-r--r--include/fpsensor_state.h19
1 files changed, 2 insertions, 17 deletions
diff --git a/include/fpsensor_state.h b/include/fpsensor_state.h
index f7bb3a3f1e..6b752bc86d 100644
--- a/include/fpsensor_state.h
+++ b/include/fpsensor_state.h
@@ -15,6 +15,8 @@
#include "link_defs.h"
#include "timer.h"
+#include "driver/fingerprint/fpsensor.h"
+
/* if no special memory regions are defined, fallback on regular SRAM */
#ifndef FP_FRAME_SECTION
#define FP_FRAME_SECTION
@@ -23,23 +25,6 @@
#define FP_TEMPLATE_SECTION
#endif
-#if defined(HAVE_PRIVATE) && !defined(TEST_BUILD)
-#define HAVE_FP_PRIVATE_DRIVER
-/* Include the device specific header file */
-#define PRIV_HEADER(header) STRINGIFY(header)
-#include PRIV_HEADER(FP_SENSOR_PRIVATE)
-#else
-/* These values are used by the host (emulator) tests. */
-#define FP_SENSOR_IMAGE_SIZE 0
-#define FP_SENSOR_RES_X 0
-#define FP_SENSOR_RES_Y 0
-#define FP_ALGORITHM_TEMPLATE_SIZE 0
-#define FP_MAX_FINGER_COUNT 5
-#endif
-#ifdef TEST_BUILD
-/* This represents the mock of the private */
-#define HAVE_FP_PRIVATE_DRIVER
-#endif
#define SBP_ENC_KEY_LEN 16
#define FP_ALGORITHM_ENCRYPTED_TEMPLATE_SIZE \
(FP_ALGORITHM_TEMPLATE_SIZE + \