[chronojump/michrolab] Suppressed header in each line
- From: Xavier Padullés <xpadulles src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump/michrolab] Suppressed header in each line
- Date: Wed, 21 Sep 2022 17:59:56 +0000 (UTC)
commit 4fea0ed654024954ef6fcb3105b94708caddb97e
Author: Xavier Padullés <testing chronojump org>
Date: Wed Sep 21 19:58:31 2022 +0200
Suppressed header in each line
arduino/michrolab/michrolab.ino | 16 +++++++++-------
1 file changed, 9 insertions(+), 7 deletions(-)
---
diff --git a/arduino/michrolab/michrolab.ino b/arduino/michrolab/michrolab.ino
index 297ba2f66..43aeaa01e 100644
--- a/arduino/michrolab/michrolab.ino
+++ b/arduino/michrolab/michrolab.ino
@@ -1798,16 +1798,18 @@ void jumpsCapture()
lastRcaTime = 0;
setNumber++;
if ( !rowCreated ) {
+ //Headers of each line
dataFile.print(String(setNumber) + ","
+ String(currentPerson) + "," + persons[currentPerson].name + " " +
persons[currentPerson].surname +
"," + String(jumpTypes[currentExerciseType].id) + "," + jumpTypes[currentExerciseType].name);
- if (PcControlled)
- {
- Serial.print(String(setNumber) + ","
- + String(currentPerson) + "," + persons[currentPerson].name + " " +
persons[currentPerson].surname +
- "," + String(jumpTypes[currentExerciseType].id) + "," + jumpTypes[currentExerciseType].name);
- rowCreated = true;
- }
+
+// if (PcControlled)
+// {
+// Serial.print(String(setNumber) + ","
+// + String(currentPerson) + "," + persons[currentPerson].name + " " +
persons[currentPerson].surname +
+// "," + String(jumpTypes[currentExerciseType].id) + "," +
jumpTypes[currentExerciseType].name);
+// }
+ rowCreated = true;
}
//Starting timer
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]