Removed sensor_wait_finger_not_present() from bep_identify_finger()

Change-Id: Ia70313582c8af7ddea1ea11218bec71cc264200c
This commit is contained in:
Andrey Perminov 2020-05-20 14:30:11 -07:00
parent d40202553f
commit 8d1c2ff0e4
4 changed files with 32 additions and 3 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
out
.cproject
.project
.cortex-debug.*.json

29
.vscode/launch.json vendored Normal file
View 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"
}
]
}

View File

@ -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);
}
}
}

View File

@ -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;