diff options
Diffstat (limited to 'firmware/2lib/include/2api.h')
-rw-r--r-- | firmware/2lib/include/2api.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/firmware/2lib/include/2api.h b/firmware/2lib/include/2api.h index 0ad10bd7..cab5d88c 100644 --- a/firmware/2lib/include/2api.h +++ b/firmware/2lib/include/2api.h @@ -884,6 +884,13 @@ void vb2ex_abort(void); */ vb2_error_t vb2ex_commit_data(struct vb2_context *ctx); +/** + * Check that physical presence button is currently pressed by the user. + * + * @returns 1 for pressed, 0 for not. + */ +int vb2ex_physical_presence_pressed(void); + /*****************************************************************************/ /* Auxiliary firmware (auxfw) */ |