ADD cpplint args in action file

This commit is contained in:
fastium
2024-12-18 10:32:03 +01:00
committed by Fastium
parent f8077db299
commit c0335b38a4
23 changed files with 384 additions and 387 deletions

View File

@@ -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