[chronojump] Fixed new line in transmission format
- From: Xavier Padullés <xpadulles src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Fixed new line in transmission format
- Date: Mon, 18 Feb 2019 16:28:49 +0000 (UTC)
commit 49cf98f30a02d61e1e37aa34a61a301a8a7e85d5
Author: Xavier Padullés <x padulles gmail com>
Date: Mon Feb 18 17:20:27 2019 +0100
Fixed new line in transmission format
arduino/ForceSensor/ForceSensor.ino | 4 ++--
arduino/raceAnalyzer/raceAnalyzer.ino | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/arduino/ForceSensor/ForceSensor.ino b/arduino/ForceSensor/ForceSensor.ino
index c2ea700e..e63d37f8 100644
--- a/arduino/ForceSensor/ForceSensor.ino
+++ b/arduino/ForceSensor/ForceSensor.ino
@@ -240,9 +240,9 @@ void get_transmission_format()
{
if (binaryFormat)
{
- Serial.print("binary");
+ Serial.println("binary");
} else
{
- Serial.print("text");
+ Serial.println("text");
}
}
diff --git a/arduino/raceAnalyzer/raceAnalyzer.ino b/arduino/raceAnalyzer/raceAnalyzer.ino
index 6cbf5471..47dc6b72 100644
--- a/arduino/raceAnalyzer/raceAnalyzer.ino
+++ b/arduino/raceAnalyzer/raceAnalyzer.ino
@@ -255,9 +255,9 @@ void get_transmission_format()
{
if (binaryFormat)
{
- Serial.print("binary");
+ Serial.println("binary");
} else
{
- Serial.print("text");
+ Serial.println("text");
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]