[chronojump/michrolab] Drop jumps in the main menu



commit 7ef65e2d1e5b741083ec694e82adbe474e900082
Author: Xavier Padullés <testing chronojump org>
Date:   Fri Jul 29 18:41:10 2022 +0200

    Drop jumps in the main menu

 arduino/michrolab/michrolab.ino | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)
---
diff --git a/arduino/michrolab/michrolab.ino b/arduino/michrolab/michrolab.ino
index b80290585..4247a411e 100644
--- a/arduino/michrolab/michrolab.ino
+++ b/arduino/michrolab/michrolab.ino
@@ -153,7 +153,8 @@ unsigned int submenu = 0;           //submenus state
 functionPointer FArray[3] = {&fakeFunction, &fakeFunction, &fakeFunction};
 
 menuEntry mainMenu[10] = {
-  { "Jumps", "Shows the height of jumps", &simpleJumpsCapture},
+  { "Drop Jumps", "Jumps with a previous\nfalling height (previous\njump or fixed height)\nShows bars with 
the heightof jumps", &dropJumpsCapture},
+  { "Jumps", "Shows bars with the jumps height", &simpleJumpsCapture},
   { "Raw Force", "Shows standard graph of\nthe force and the summary of the set.\n(Maximum Force, RFD 
and\nImpulse)", &startLoadCellCapture},
   { "Lin. Velocity", "Show bars of linear velocity", &startEncoderCapture },
   { "Inert. Velocity", "Show a bars of the velocity of the person in inertial machines", 
&startInertialEncoderCapture },
@@ -161,11 +162,10 @@ menuEntry mainMenu[10] = {
   { "Tared Force", "Offset the force before\nmeasuring it.\nUseful to substract body\nweight.", 
&startTareCapture},
   { "F. Steadiness", "RMSSD and cvRMSSD.\nSteadynessof the force.\nWhen ready, press the Red Button to get 
the\nsteadiness of the next 5s.", &startSteadiness},
   { "System", "Performs calibration or\ntare and shows some system\ninformation.", &showSystemMenu},
-  { "", "", &backMenu},
   { "", "", &backMenu}
 };
 
-int mainMenuItems = 8;
+int mainMenuItems = 9;
 
 menuEntry systemMenu[10] {
   { "Group", "Select the group you are going to use.\nUp to 9 groups can be\nselected", &selectGroup},
@@ -398,8 +398,6 @@ void setup() {
 
   tft.fillScreen(BLACK);
   
-  dropJumpsCapture();
-  
   drawMenuBackground();
   backMenu();
   showMenuEntry(currentMenuIndex);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]