ADD cpplint args in action file
This commit is contained in:
@@ -38,17 +38,12 @@
|
||||
|
||||
namespace static_scheduling_with_event {
|
||||
|
||||
|
||||
GearDevice::GearDevice() {
|
||||
disco::Joystick::getInstance().setUpCallback(
|
||||
callback(this, &GearDevice::onUp));
|
||||
disco::Joystick::getInstance().setDownCallback(
|
||||
callback(this, &GearDevice::onDown));
|
||||
disco::Joystick::getInstance().setUpCallback(callback(this, &GearDevice::onUp));
|
||||
disco::Joystick::getInstance().setDownCallback(callback(this, &GearDevice::onDown));
|
||||
}
|
||||
|
||||
uint8_t GearDevice::getCurrentGear() {
|
||||
return core_util_atomic_load_u8(&_currentGear);
|
||||
}
|
||||
uint8_t GearDevice::getCurrentGear() { return core_util_atomic_load_u8(&_currentGear); }
|
||||
|
||||
uint8_t GearDevice::getCurrentGearSize() const {
|
||||
return bike_computer::kMaxGearSize - core_util_atomic_load_u8(&_currentGear);
|
||||
@@ -66,4 +61,4 @@ void GearDevice::onDown() {
|
||||
}
|
||||
}
|
||||
|
||||
} // namespace static_scheduling
|
||||
} // namespace static_scheduling_with_event
|
||||
|
||||
Reference in New Issue
Block a user