Increase max speed by 5 on short press

Added function to increase the value of the max speed by 5 instead of 1 by taping the "Max" speed icon in the onroad UI.
This commit is contained in:
FrogAi
2024-01-12 22:39:30 -07:00
parent f4caa201cc
commit 72fac6ed9d
7 changed files with 40 additions and 14 deletions

View File

@@ -16,6 +16,7 @@ const int btn_size = 192;
const int img_size = (btn_size / 4) * 3;
// FrogPilot global variables
static bool reverseCruise;
static bool speedHidden;
static double fps;