Skip to content

Commit b8ae628

Browse files
MarkusMarkus
Markus
authored and
Markus
committed
Implement pressure values from Toni Lassila's VaLas if no sensor values
1 parent f5075f5 commit b8ae628

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

main/core.cpp

+8-8
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ void gearchangeUp(int newGear)
242242
}
243243
if (!sensors)
244244
{
245-
switchGearStart(y3, 100, 100);
245+
switchGearStart(y3, 35, 31);
246246
}
247247
if (sensors)
248248
{
@@ -260,7 +260,7 @@ void gearchangeUp(int newGear)
260260
}
261261
if (!sensors)
262262
{
263-
switchGearStart(y4, 100, 100);
263+
switchGearStart(y4, 31, 31);
264264
}
265265
if (sensors)
266266
{
@@ -278,7 +278,7 @@ void gearchangeUp(int newGear)
278278
}
279279
if (!sensors)
280280
{
281-
switchGearStart(y5, 100, 100);
281+
switchGearStart(y5, 43, 43);
282282
}
283283
if (sensors)
284284
{
@@ -296,7 +296,7 @@ void gearchangeUp(int newGear)
296296
}
297297
if (!sensors)
298298
{
299-
switchGearStart(y3, 100, 100);
299+
switchGearStart(y3, 47, 39);
300300
}
301301
if (sensors)
302302
{
@@ -343,7 +343,7 @@ void gearchangeDown(int newGear)
343343
}
344344
if (!sensors)
345345
{
346-
switchGearStart(y3, 100, 100);
346+
switchGearStart(y3, 15, 15);
347347
}
348348
if (sensors)
349349
{
@@ -361,7 +361,7 @@ void gearchangeDown(int newGear)
361361
}
362362
if (!sensors)
363363
{
364-
switchGearStart(y4, 100, 100);
364+
switchGearStart(y4, 70, 70);
365365
}
366366
if (sensors)
367367
{
@@ -379,7 +379,7 @@ void gearchangeDown(int newGear)
379379
}
380380
if (!sensors)
381381
{
382-
switchGearStart(y5, 100, 100);
382+
switchGearStart(y5, 43, 39);
383383
}
384384
if (sensors)
385385
{
@@ -397,7 +397,7 @@ void gearchangeDown(int newGear)
397397
}
398398
if (!sensors)
399399
{
400-
switchGearStart(y3, 100, 100);
400+
switchGearStart(y3, 47, 47);
401401
}
402402
if (sensors)
403403
{

0 commit comments

Comments
 (0)