[chronojump] RunEncoder Do not need to be != 10 to send pps to device
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] RunEncoder Do not need to be != 10 to send pps to device
- Date: Mon, 8 Mar 2021 10:00:54 +0000 (UTC)
commit 28cc23d6a060e974a086a8a8d790608663c37b23
Author: Xavier de Blas <xaviblas gmail com>
Date: Mon Mar 8 11:00:07 2021 +0100
RunEncoder Do not need to be != 10 to send pps to device
src/gui/app1/runEncoder.cs | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/src/gui/app1/runEncoder.cs b/src/gui/app1/runEncoder.cs
index 40a7fdf4..1de0c9ab 100644
--- a/src/gui/app1/runEncoder.cs
+++ b/src/gui/app1/runEncoder.cs
@@ -447,9 +447,7 @@ public partial class ChronoJumpWindow
lastChangedTime = 0;
double versionDouble =
Convert.ToDouble(Util.ChangeDecimalSeparator(runEncoderFirmwareVersion));
- if(preferences.runEncoderPPS != 10 && //10 is the default value on the .ino
- versionDouble >= Convert.ToDouble(Util.ChangeDecimalSeparator("0.3"))
- )
+ if(versionDouble >= Convert.ToDouble(Util.ChangeDecimalSeparator("0.3")))
{
if(! runEncoderSendCommand(string.Format("set_pps:{0};", preferences.runEncoderPPS),
"Sending pps", "Catched at set_pps"))
return;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]