aboutsummaryrefslogtreecommitdiff
path: root/src/device_trezor/trezor/debug_link.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/device_trezor/trezor/debug_link.cpp')
-rw-r--r--src/device_trezor/trezor/debug_link.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/device_trezor/trezor/debug_link.cpp b/src/device_trezor/trezor/debug_link.cpp
index c7ee59afe..102d1f966 100644
--- a/src/device_trezor/trezor/debug_link.cpp
+++ b/src/device_trezor/trezor/debug_link.cpp
@@ -71,9 +71,9 @@ namespace trezor{
call(decision, boost::none, true);
}
- void DebugLink::input_swipe(bool swipe){
+ void DebugLink::input_swipe(messages::debug::DebugLinkDecision_DebugSwipeDirection direction){
messages::debug::DebugLinkDecision decision;
- decision.set_up_down(swipe);
+ decision.set_swipe(direction);
call(decision, boost::none, true);
}