Removed sensor_wait_finger_not_present() from bep_identify_finger()
Change-Id: Ia70313582c8af7ddea1ea11218bec71cc264200c
This commit is contained in:
parent
d40202553f
commit
8d1c2ff0e4
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,3 +1,4 @@
|
||||
out
|
||||
.cproject
|
||||
.project
|
||||
.cortex-debug.*.json
|
||||
|
||||
29
.vscode/launch.json
vendored
Normal file
29
.vscode/launch.json
vendored
Normal file
@ -0,0 +1,29 @@
|
||||
{
|
||||
// Use IntelliSense to learn about possible attributes.
|
||||
// Hover to view descriptions of existing attributes.
|
||||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"name": "Cortex Debug",
|
||||
"cwd": "${workspaceRoot}",
|
||||
"executable": "${workspaceRoot}/BMLite_example/out/bmlite_demo",
|
||||
"request": "launch",
|
||||
"type": "cortex-debug",
|
||||
"servertype": "jlink",
|
||||
"device": "nRF52840_xxAA",
|
||||
"interface": "swd",
|
||||
"runToMain": true,
|
||||
|
||||
// "postLaunchCommands": [
|
||||
// "flush regs",
|
||||
// "load"
|
||||
// ],
|
||||
// "postRestartCommands": [
|
||||
// "flush regs",
|
||||
// "load"
|
||||
// ],
|
||||
"gdbTarget": "/opt/SEGGER/JLink/JLinkGDBServer"
|
||||
}
|
||||
]
|
||||
}
|
||||
@ -124,6 +124,8 @@ int main (int argc, char **argv)
|
||||
continue;
|
||||
}
|
||||
hal_set_leds(BMLITE_LED_STATUS_MATCH, match);
|
||||
res = sensor_wait_finger_not_present(&hcp_chain, 0);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -197,9 +197,6 @@ fpc_bep_result_t bep_identify_finger(HCP_comm_t *chain, uint32_t timeout, uint16
|
||||
// Delay for possible updating template on BM-Lite
|
||||
hal_timebase_busy_wait(50);
|
||||
}
|
||||
|
||||
bep_result = sensor_wait_finger_not_present(chain, 0);
|
||||
|
||||
exit:
|
||||
bmlite_on_identify_finish();
|
||||
return bep_result;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user