add touch-policy cached

This commit is contained in:
Klas Lindfors
2016-03-17 10:52:03 +01:00
parent 4c74ebdc56
commit 7aa6ac93e6
3 changed files with 4 additions and 1 deletions
+2
View File
@@ -604,6 +604,8 @@ unsigned char get_touch_policy(enum enum_touch_policy policy) {
return YKPIV_TOUCHPOLICY_NEVER;
case touch_policy_arg_always:
return YKPIV_TOUCHPOLICY_ALWAYS;
case touch_policy_arg_cached:
return YKPIV_TOUCHPOLICY_CACHED;
case touch_policy__NULL:
default:
return 0;