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.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device_trezor/trezor/debug_link.cpp b/src/device_trezor/trezor/debug_link.cpp
index ff7cf0ad6..76adcb164 100644
--- a/src/device_trezor/trezor/debug_link.cpp
+++ b/src/device_trezor/trezor/debug_link.cpp
@@ -67,7 +67,7 @@ namespace trezor{
void DebugLink::input_button(bool button){
messages::debug::DebugLinkDecision decision;
- decision.set_yes_no(button);
+ decision.set_button(button ? messages::debug::DebugLinkDecision_DebugButton_YES : messages::debug::DebugLinkDecision_DebugButton_NO);
call(decision, boost::none, true);
}