FIX kMaxGearSize value static scheduling with event
This commit is contained in:
parent
dfd94b647c
commit
a183ad4858
@ -22,5 +22,5 @@ repos:
|
|||||||
- id: cppcheck
|
- id: cppcheck
|
||||||
name: cppcheck
|
name: cppcheck
|
||||||
require_serial: true
|
require_serial: true
|
||||||
entry: cppcheck --enable=all --suppress=missingInclude --suppress=missingIncludeSystem --suppress=unusedStructMember --inline-suppr -i mbed-os --std=c++14 --error-exitcode=1
|
entry: cppcheck --enable=all --suppress=missingInclude --suppress=missingIncludeSystem --inline-suppr -i mbed-os --std=c++14 --error-exitcode=1
|
||||||
language: system
|
language: system
|
||||||
|
@ -85,7 +85,7 @@ class BikeSystem {
|
|||||||
// data member that represents the device for manipulating the gear
|
// data member that represents the device for manipulating the gear
|
||||||
GearDevice _gearDevice;
|
GearDevice _gearDevice;
|
||||||
uint8_t _currentGear = bike_computer::kMinGear;
|
uint8_t _currentGear = bike_computer::kMinGear;
|
||||||
uint8_t _currentGearSize = bike_computer::kMinGearSize;
|
uint8_t _currentGearSize = bike_computer::kMaxGearSize;
|
||||||
// data member that represents the device for manipulating the pedal rotation
|
// data member that represents the device for manipulating the pedal rotation
|
||||||
// speed/time
|
// speed/time
|
||||||
PedalDevice _pedalDevice;
|
PedalDevice _pedalDevice;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user