summaryrefslogtreecommitdiff
path: root/driver/fingerprint/fpc/fpc_sensor.h
diff options
context:
space:
mode:
authorTom Hughes <tomhughes@chromium.org>2020-06-12 11:47:20 -0700
committerCommit Bot <commit-bot@chromium.org>2020-08-06 19:49:15 +0000
commit69bab88511023f0742aa2794698b3cab7f816eb6 (patch)
tree1168e999fc5352991aaa41d291b553e97dc7b7d6 /driver/fingerprint/fpc/fpc_sensor.h
parent821d9748590b7fc4bde0ecb40037677b44d4186b (diff)
downloadchrome-ec-69bab88511023f0742aa2794698b3cab7f816eb6.tar.gz
driver/fingerprint: Add a common sensor maintenance function
Add a new console command "fpmaintenance" for testing. BRANCH=none BUG=b:76037094 TEST=With dragonclaw v0.2 connected to Segger J-Trace and servo micro: ./util/flash_jlink.py On FP console: > fpmaintenance Signed-off-by: Tom Hughes <tomhughes@chromium.org> Change-Id: I7125f8783d3dd7e815612d20742c9d949d00ba71 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2323709 Reviewed-by: Yicheng Li <yichengli@chromium.org>
Diffstat (limited to 'driver/fingerprint/fpc/fpc_sensor.h')
-rw-r--r--driver/fingerprint/fpc/fpc_sensor.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/driver/fingerprint/fpc/fpc_sensor.h b/driver/fingerprint/fpc/fpc_sensor.h
index da67696a0c..2ab9248eeb 100644
--- a/driver/fingerprint/fpc/fpc_sensor.h
+++ b/driver/fingerprint/fpc/fpc_sensor.h
@@ -18,4 +18,6 @@
#error "Sensor type not defined!"
#endif
+int fpc_fp_maintenance(uint16_t *error_state);
+
#endif /* __CROS_EC_DRIVER_FINGERPRINT_FPC_FPC_SENSOR_H_ */