[chronojump] Check if encoder is disconnected before clicking on Calibrate
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Check if encoder is disconnected before clicking on Calibrate
- Date: Wed, 15 Feb 2017 15:50:25 +0000 (UTC)
commit d5c5e41d2fed1823168981f8261346b355b29808
Author: Xavier de Blas <xaviblas gmail com>
Date: Wed Feb 15 16:35:41 2017 +0100
Check if encoder is disconnected before clicking on Calibrate
src/gui/encoder.cs | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/src/gui/encoder.cs b/src/gui/encoder.cs
index 9a18cd6..49cb85f 100644
--- a/src/gui/encoder.cs
+++ b/src/gui/encoder.cs
@@ -622,12 +622,8 @@ public partial class ChronoJumpWindow
EncoderCaptureInertialBackground eCaptureInertialBG; //only created one time
void on_button_encoder_inertial_calibrate_clicked (object o, EventArgs args)
{
- //TODO: At the moment, button_encoder_inertial_calibrate can only be sensitive while not
capturing
- //check if chronopics have changed
- /*
if(! canCaptureEncoder())
return;
- */
/*
* if user calibrates again: put 0 value
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]